lib/factory.js
function (Class, descriptors) {
    ClassFactory.prototype.updateDynamicFunctions.call(this, Class, descriptors);
    if (!Class.cast || Class.cast.isAutoGenerated) {
      Class.cast = this.createStaticCast(Class, descriptors);
    }
    if (!Class.validate || Class.validate.isAutoGenerated) {
      Class.validate = this.createStaticValidate(Class, descriptors);
    }
    if (!Class.input || Class.input.isAutoGenerated) {
      Class.input = this.createStaticInput(Class, descriptors);
    }
    if (!Class.toJSON || Class.toJSON.isAutoGenerated) {
      Class.toJSON = this.createStaticToJSON(Class, descriptors);
    }
  }
function (Class, descriptors) {
    ClassFactory.prototype.updateDynamicFunctions.call(this, Class, descriptors);
    if (!Class.cast || Class.cast.isAutoGenerated) {
      Class.cast = this.createStaticCast(Class, descriptors);
    }
    if (!Class.validate || Class.validate.isAutoGenerated) {
      Class.validate = this.createStaticValidate(Class, descriptors);
    }
    if (!Class.input || Class.input.isAutoGenerated) {
      Class.input = this.createStaticInput(Class, descriptors);
    }
    if (!Class.toJSON || Class.toJSON.isAutoGenerated) {
      Class.toJSON = this.createStaticToJSON(Class, descriptors);
    }
  }
function ( Class , descriptors ) { ClassFactory . prototype . updateDynamicFunctions . call ( this , Class , descriptors ) ; if ( ! Class . cast || Class . cast . isAutoGenerated ) { Class . cast = this . createStaticCast ( Class , descriptors ) ; } if ( ! Class . validate || Class . validate . isAutoGenerated ) { Class . validate = this . createStaticValidate ( Class , descriptors ) ; } if ( ! Class . input || Class . input . isAutoGenerated ) { Class . input = this . createStaticInput ( Class , descriptors ) ; } if ( ! Class . toJSON || Class . toJSON . isAutoGenerated ) { Class . toJSON = this . createStaticToJSON ( Class , descriptors ) ; } }
Update the dynamic auto-generated functions for a class.

@param  {Function} Class             The class.
@param  {Object}   descriptors       The property descriptors.
@param  {Object}   staticDescriptors The static property descriptors.
Update the dynamic auto - generated functions for a class .