Metaclasses
A metaclass is a class that defines other classes. In the cell, you cannot create, modify, or delete metaclasses.
Metaclasses define the name of a tag, or a placeholder, for the class definition. The following metaclasses are defined in the mc_root_internal.baroc file:
- MC_EV_CLASS
- MC_DATA_CLASS
- MC_PUBLISH_DATA_CLASS
- MC_INTERFACE
- TEC_CLASS
The syntax for defining event and data classes is essentially the same; however, their core classes and metaclasses differ:
Core and metaclass event and data classes
Class type | Event | Data |
|---|---|---|
Metaclass | MC_EV_CLASS | MC_DATA_CLASS |
Base class | CORE_EVENT | CORE_DATA |
For information about the default event and data class definitions, see Event-and-data-classes.
Every service model component class whose instances are published from BMC Atrium CMDB are instances of MC_PUBLISH_DATA_CLASS. In publish mode, instances of this class cannot be modified by external clients (mposter command). For more information about service model component classes and service model publishing, see Service-model-component-data-classes.