You can access metadata for database, classes, entities, attributes,
operations, and parameters using the MetaData API.
MetaData API
Some applications or frameworks can operate against MBOs generically by invoking MBO operations without prior knowledge of MBO classes. This can be achieved by using the MetaData API.
DatabaseMetaData
The DatabaseMetaData class holds package-level metadata. You can use it to retrieve data such as synchronization groups, the default database file, and MBO metadata.
ClassMetaData
The class holds metadata for the MBO, including attributes and operations.
EntityMetaData
The EntityMetaData class holds metadata for the MBO, including attributes and operations.
AttributeMetaData
The AttributeMetaData class holds metadata for an attribute such as attribute name, column name, type, and maxlength.