mendix.sys.Meta
The mendix.sys.Meta subsystem provides an API to get information about the Domain Model.
Methods
getMetaMap()
This method is called to get all meta data for the Domain Model.
Returns
| Type | Description |
|---|---|
| Object | Key-value pair of entity names and their corresponding MxMetaObjects. |
getMetaEntity(entity)
This method is called to get meta data for an entity in the Domain Model.
Parameters
| Name | Type | Description |
|---|---|---|
| entity | String | The name of the entity. |
Returns
| Type | Description |
|---|---|
| MxMetaObject | The MxMetaObject of the requested entity. |
startup(callback)
This method is called to startup the subsystem.
Parameters
| Name | Type | Description |
|---|---|---|
| callback | Function | The function to be called when startup is finished. |
shutdown()
This method is called to shutdown the subsystem.
isLoaded()
This method is called to check whether the subsystem has been started.
Returns
| Type | Description |
|---|---|
| Boolean | true if the subsystem has been started. |