lost+found/src/attributes/attributes.js
function (objPrototype) {
                var me = this,
                    statics = _gpfA.AttrConstraintAttribute,
                    originalAlterPrototype = statics.originalAlterPrototype,
                    attributes = new _gpfA.Map(me);
                // Get constraints set for THIS attribute
                attributes.filter(_gpfAttrConstraint).forEach(function (constraintAttributes) {
                    constraintAttributes.forEach(function (attribute) {
                        attribute._check(me, objPrototype);
                    });
                });
                // OK, call _alterPrototype
                me[originalAlterPrototype](objPrototype);
            }
function (objPrototype) {
                var me = this,
                    statics = _gpfA.AttrConstraintAttribute,
                    originalAlterPrototype = statics.originalAlterPrototype,
                    attributes = new _gpfA.Map(me);
                // Get constraints set for THIS attribute
                attributes.filter(_gpfAttrConstraint).forEach(function (constraintAttributes) {
                    constraintAttributes.forEach(function (attribute) {
                        attribute._check(me, objPrototype);
                    });
                });
                // OK, call _alterPrototype
                me[originalAlterPrototype](objPrototype);
            }
function ( objPrototype ) { var me = this , statics = _gpfA . AttrConstraintAttribute , originalAlterPrototype = statics . originalAlterPrototype , attributes = new _gpfA . Map ( me ) ; // Get constraints set for THIS attribute attributes . filter ( _gpfAttrConstraint ) . forEach ( function ( constraintAttributes ) { constraintAttributes . forEach ( function ( attribute ) { attribute . _check ( me , objPrototype ) ; } ) ; } ) ; // OK, call _alterPrototype me [ originalAlterPrototype ] ( objPrototype ) ; }
Check that all attribute constraints are respected before calling the original _alterPrototype

@param {Object} objPrototype
@this {gpf.attributes.Attribute} the child class attribute
Check that all attribute constraints are respected before calling the original _alterPrototype