Defining class properties in the Class Manager
The BMC Atrium CMDB Class Manager helps you define properties for Configuration Item (CI) and relationship classes. The properties of a class define the class and how it stores data.
Creating or modifying classes process
For more information on class and relationship properties, see Common CI and relationship class properties.
To define class properties
- In the Class Manager, browse the data model until you have selected the class that will be the superclass for the new class.
- In the toolbar, click either New CI Class or New Relationship Class.
In the Properties section of the Generaltab, enter information as described in the following table.
You cannot modify the Data Storage Method, Final, and Singleton fields after you have saved a class.
- (optional) In the Additional Information section of the More Information tab, enter a description of the class in the Description field.
- If the class is a relationship class, define relationship type properties as described in the following table; otherwise skip this step.
Perform one of the following actions:
You want to provide additional information for the class
Continue with the process described in Process overview for creating or modifying classes.
You are finished working with this class
- Click OK.
- In the confirmation dialog box, click OK.
Common CI and relationship class properties
This section describes the common CI and relationship properties you can define when defining a class.
- For information on defining class properties, see Class properties. The class properties defined in the CI Class and Relationship Class dialog boxes are listed in the following table. This table also describes how you should enter information for those properties when creating a new class.
Most of these properties are fields on the General tab of the CI Class and Relationship Class dialog boxes. The Description field is on the More Information tab.
- For information on relationship classes that define how the relationship functions with CI classes, see Additional properties for Relationship classes.
Indicates the type of class.
Select a class to be the parent class of the new class.
Select a namespace from the list or enter a new namespace. For more information, see Namespaces and partitioning the data model.
Enter a name that describes the class. Class names are limited to alphanumeric characters and underscores.
Indicates the current state of the class. You cannot enter a new value in the Status field. When you create or modify a class, its Status is set automatically to Change Pending.
Enter your name, as the person who created the class.
Select the Final check box to prevent subclasses from being created for the new class. For more information, see How additional subclasses extend the data model.
Select the Singleton check box if this class represents a unique CI. For more information, see How additional subclasses extend the data model.
Enter a brief description of the class, such as information about the type of data stored by the class, how the class should be used, and any unusual characteristics of the class.
This property is in the More Information tab.
Data Storage Method
Select an option:
A list of user-defined custom characteristics for the class. The ID for each list item can be set to any user-defined characteristic but must be between 100000 and 199999. You must enter the custom properties in serialized format:
Additional properties for Relationship classes
Relationship classes require additional properties that define how the relationship functions with CI classes.
- Member classes — Two CI classes must be members of a relationship class. Class 1 is the source member and Class 2 is the destination member. If you need directionless or directionally symmetric relationships, you can create another relationship with Class 1 and Class 2 switched.
- Roles — Refers to the relationship roles of the member classes. You can use the default Source and Destination roles, or you can specify new roles when you create a relationship class. Role names are used as prefixes on the field labels of attributes pertaining to each member class.
The following table lists the properties defined in the Relationship Class dialog box, and how you should enter information for those properties when creating a new class.
Relationship type properties
Select a class to use as the source class.
Select a class to use as the destination class.
Enter a role name for Class 1. By default, this is
Enter a role name for Class 2. By default, this is
Select a cardinality:
Select the Cascade Delete check box to delete (or mark as deleted) the destination member whenever the source member is deleted (or marked as deleted). This field applies only to relationships with a left-hand cardinality of One to One or One to Many.
Select the Weak Reference check box to create a composite object with the relationship and its member instances in which the destination member is a weak entity. This field applies only to relationships with a left-hand cardinality of One.
If you have selected classes in the Class 1 and Class 2 fields and you have selected the Weak Reference check box, click Propagated Attributes to map attributes between members of a weak relationship. For more information, see Propagating attributes for weak relationships.