Symbols and Lines in OM Diagrams
Symbols in OM Diagrams
|
Class
|
Specifies a class. Contains three sections: Name, attributes and operations.
|
|
Object
|
Specifies an object instantiated from a class. Contains two sections: Name and attribute values
|
|
Text
|
Contains comments relevant for the diagram. Not connected to any other symbol.
|
Lines in OM Diagrams
|
Generalization line
|
Defines that the class connected to the simple line end inherits from the class connected to the triangle line end. To create it, select the class symbol to inherit from and drag the generalization line handle (a triangle). To create a line break point, click in the diagram background. To attach the generalization line to its final destination, click the border of the inheriting class symbol.
|
|
Aggregation line
|
Defines that the class connected to the simple line end is contained in the class connected to the diamond line end. To create it, select the container class symbol and drag the aggregation line handle (a diamond). To create a line breakpoint, click in the diagram background. To attach the aggregation line to its final destination, click the border of the contained class symbol.
|
|
Association line
|
Defines an association between two class symbols. To create it, select one class symbol and drag the association line handle (a rectangle). To create a line breakpoint, click in the diagram background. To attach the association line to its final destination, click the border of the associated class symbol.
|
|
Link class line
|
Defines a class connected to an association line or an aggregation line. To create it, select an association or an aggregation line and drag the link class handle. The class symbol is created at the same time. There can only be one class symbol connected to one association or aggregation line.
|