Mendix Client 5 API Documentation


mx.meta

Get information about the domain model.

Methods

getMap()

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.

Example

mx.meta.getMap()
// returns map of all entity names with their MxMetaObjects

getEntity(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.

Example

mx.meta.getEntity("System.Image")
// returns the MxMetaObject for System.Image