Base object.
- Source:
Methods
_validateModelArray(modelArray) → {boolean}
Validate array of models.
Parameters:
Name | Type | Description |
---|---|---|
modelArray |
Array.<Models> | Array containing models. |
- Source:
Returns:
True if array is valid. False if not.
- Type
- boolean
merge()
Merge model against current model.
- Source:
mergeModels(referenceArray, targetArray) → {boolean}
Merge 2 arrays of models.
Merge the target array into the reference array.
Parameters:
Name | Type | Description |
---|---|---|
referenceArray |
Array.<Models> | Array to be merge against |
targetArray |
Array.<Models> | Array to be merged against reference. |
- Source:
Returns:
True if merge was sucessful. False if something went wrong.
- Type
- boolean
validate() → {boolean}
Validate a model.
- Source:
Returns:
True if model is valid. False if not.
- Type
- boolean