mx.metadata
The mendix.sys.MetaData
subsystem provides an API to get information about the Domain Model.
Properties
-
Methods
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. |
Returns
-
shutdown()
This method is called to shutdown the subsystem.
Parameters
-
Returns
-
isLoaded()
This method is called to check whether the subsystem has been started.
Parameters
-
Returns
Type | Description |
---|---|
Boolean | true if the subsystem has been started. |
getMetaMap()
This method is called to get all meta data for the Domain Model.
Parameters
-
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. |