Class (from Constructs, Profiles)

Description
Class has derived association that indicates how it may be extended through one or more stereotypes.
Because a stereotype is a class, it is possible to apply a stereotype not only to classes, but also to definitions of
stereotypes.

Attributes
No additional attributes.

Associations

/ extension: Extension [*] References the Extensions that specify additional properties of the metaclass. The prop-
erty is derived from the extensions whose memberEnds are typed by the Class.

Constraints
No additional constraints.

Semantics
No additional semantics.

Notation
No additional notation.

Presentation Option
A Class that is extended by a Stereotype may have the optional keyword «metaclass» shown above or before its name.

Examples
In Figure 113, an example is given where it is made explicit that the extended class Interface is in fact a metaclass (from
a reference metamodel).

Changes from UML 1.4
A link typed by UML 1.4 ModelElement::stereotype is mapped to a link that is typed by Class::extension.