Methods
(static) fromJSON(json)
Fill the entity with by a filled JSON object
Parameters:
Name | Type | Description |
---|---|---|
json |
JSON |
- Source:
isValid() → {boolean}
Check if this entity is valid
- Source:
toJSON() → {JSON}
Transform this entity to JSON
- Source:
validate() → {void}
Validate the entity and add the errors into "errors" property.
- Source: