In UML, a class is represented by a rectangle. The class name either stands alone in the rectangle or is in the uppermost segment of the rectangle. If present, the segment below that containing the name contains the properties of the class. If present, a third region indicates the presence of methods.
A line decorated with a triangle indicates an inheritance relationship, in which the lower rectangle represents a subtype of the upper rectangle. The triangle points to the superclass.
Other solid lines represent relationships. The cardinality of the references on either side of the relationship is indicated by a decoration on either end. The following character combinations are commonly used:
A line connected to a rectangle by a dotted line represents a subclass relationship between two associations.
For each metaelement, the diagram notation and/or its interpretation are summarized below.
Note: Use of the same name does not imply overriding.