The UML Designer toolbox lists the available entities that can be placed in a class diagram using the Class Diagram Editor. The following entities are available in this toolbox.
Class
Adding a class from the UML toolbox has the same effect as adding a class from any of the other System Modeler views. Refer to Adding System Modeler Items for more information.
Generalization
In a System Modeler context, a generalization relationship specifies the superclass of a target class.
To create a generalization relationship in class diagram, perform the following:
Double-click Generalization on the UML toolbox.
Click the superclass on the Class Diagram tab.
Click the target class.
Alternatively, you can also drag Generalization from the UML toolbox to the superclass on the Class Diagram tab and click the target class.
Lookup Dependency
A lookup dependency relationship specifies a lookup using the predefined attributes as the key values for the target class.
To create a lookup dependency in a class diagram, perform the following:
Double-click Lookup Dependency on the UML toolbox.
Click the dependent ispec attribute on the Class Diagram tab
Click the target class.
Alternatively, you can also drag Lookup Dependency from the UML Designer toolbox to the dependent ispec attribute on the Class Diagram tab and click the target class.
Diagram
Adding a diagram from the UML toolbox has the same effect as adding a diagram from any of the other System Modeler views. Refer to Adding System Modeler Items for more information.
Comment
A comment allows descriptive text to be embedded in a class diagram. They do not have any semantic meaning.
To create a comment, double-click Comment on the UML Designer toolbox to place a comment at a default position on the Class Diagram tab. Alternatively, you can also drag Comment from the UML toolbox to the desired position on the Class Diagram tab.
After the comment is added in the Class Diagram tab, select the comment to display a yellow diamond that can be dragged to associate the comment with other class diagram entities.The comment entity must have an association to a class entity otherwise the comment entity is not saved.
Composition
A composition relationship combines the target class as an attribute of the source class.
To create a composition relationship in class diagram, perform the following:
Double-click Composition on the UML toolbox.
Click the attribute superclass on the Class Diagram tab.
Click the target class.
Alternatively, you can also drag Composition from the UML toolbox to the attribute superclass on the Class Diagram tab and click the target class.