new Callback()
Constructor: Initializes the AttributeTypeList.
Requires
- module:easejs
- module:ParameterList
- module:AttributeType
- module:AttributeTypeList
Methods
-
addAttributeType(_attributeType)
-
Adds an attribute to AttributeTypeList.
Name Type Description _attributeType
AttributeType AttributeType -
virtualequals(_callback){boolean}
-
Compares this instance with the given one.
Name Type Description _callback
Callback Callback that should be compared -
getAttributeTypes(){AttributeTypeList}
-
Returns the associated attributes (only the types).
-
getName(){string}
-
Returns the name.
-
removeAttributeType(_attributeType)
-
Removes an attribute from AttributeTypeList.
Name Type Description _attributeType
AttributeType AttributeType -
setAttributeTypes(_attributeTypes)
-
Adds a list of AttributeTypes.
Name Type Description _attributeTypes
AttributeTypeList AttributeTypeList -
setName(_name)
-
Sets the name.
Name Type Description _name
string Name -
withAttributeTypes(_attributeTypes){Callback}
-
Builder for AttributeTypes.
Name Type Description _attributeTypes
AttributeTypeList | Array attributeTypes -
withName(_name){Callback}
-
Builder for name.
Name Type Description _name
String Name