API Name: global.sc_Factory

var sc_Factory = Class.create();
sc_Factory.prototype = Object.extendsObject(sc_BaseFactory, {
initialize: function() {
sc_BaseFactory.prototype.initialize.apply(this, arguments);

/* To use this factory you simply call the registerClass method with the name of the table you want to register it against
* and the name of the class that you want to register using the following syntax.


* You can register one class against a table.


type: "sc_Factory"

sc_Factory.wrap = function() {
var fact = new sc_Factory();
return fact.wrap.apply(fact, arguments);

sc_Factory.getWrapperClass = function() {
var fact = new sc_Factory();
return fact.getWrapperClass.apply(fact, arguments);