-
Open the Editor view. For more information, see Create New Objects and Relationships in the Schema.
-
Double-click ClassDef in the Create tree.
-
In the New Class Definition dialog box, type a name, description, and display name for the new class.
-
Beside the Model definition box, click .
-
In the Possible ModelForClass Values dialog box, select the model to which the new class definition belongs. For more information, see Model Definitions.
-
Beside the Component schema box, click , and select the component schema to which the new class definition belongs.
If the component schema that you want to associate the new class with does not already exist, click Create to define the object in the schema. For more information about component schemas, see Create a Component Schema.
-
If the new class definition represents another view of an object represented in the database by another class definition, click beside the Shared object definitions box, and select the shared object definition for this class. You can select one or multiple shared objects. For more information, see Shared Object Definitions.
Shared objects must exist in the same model. For example, if you select ActualMaterialModel for the new class, all shared objects must also exist in the ActualMaterialModel.
-
Beside the Class factory definition box, click , and select the class factory for the new class.
-
Beside the Primary interface definition box, click , and select the primary interface definition for this class definition.
If the primary interface definition for the class definition does not exist, create it by clicking New in the Possible PrimaryInterfaceDef for <ClassDef> dialog box. For more information, see Create an Interface Definition.
-
Beside the Realized interface definition box, click , and then select additional interfaces that this class realizes. You can select one or multiple interfaces. Click OK when you are done selecting interfaces.
-
Each class definition must realize at least one interface definition.
-
The software automatically creates a realizes relationship with the IObject interface, because all class definitions must realize that interface.
-
-
In the New Class Definition dialog box, click OK.