Classifier (additional properties)

Description
Constructs::Classifier is defined in the Classifiers diagram. A Classifier is a Type. The Classes diagram adds the
association between Classifier and Property that represents the attributes of the classifier.

Attributes
No additional attributes.

Associations

Constraints
No additional constraints.

Semantics

All instances of a classifier have values corresponding to the classifier's attributes.

Semantic Variation Points
The precise lifecycle semantics of aggregation is a semantic variation point.

Notation
An attribute can be shown as a text string that can be parsed into the various properties of an attribute. The basic syntax
is (with optional parts shown in braces):

[visibility] [/] name [: type] [multiplicity] [= default] [{ property-string }]

In the following bullets, each of these parts is described:

The following property strings can be applied to an attribute: {readOnly}, {union}, {subsets <property-name>},
{redefines <property-name>}, {ordered}, {bag}, {seq} or {sequence}, and {composite}.

An attribute with the same name as an attribute that would have been inherited is interpreted to be a redefinition, without
the need for a {redefines <x>} property string. Note that a redefined attribute is not inherited into a namespace where it
is redefined, so its name can be reused in the featuring classifier, either for the redefining attribute, or alternately for some
other attribute.

Presentation Options
The type, visibility, default, multiplicity, property string may be suppressed from being displayed, even if there are values
in the model.

The individual properties of an attribute can be shown in columns rather than as a continuous string.

Style Guidelines
Attribute names typically begin with a lowercase letter. Multiword names are often formed by concatenating the words
and using lowercase for all letter except for upcasing the first letter of each word but the first.

Examples

The attributes in Figure 82 are explained below.

An attribute may also be shown using association notation, with no adornments at the tail of the arrow as shown in Figure 83.