Previous Table of Contents Next


5.4.2 DataTypes Associations


   5.4.2.1 ClassifierAlias

   The ClassifierAlias association connects TypeAlias instances with the Classifier instances that they rename.

   Ends

   type

Identifies the Classifier instance for which this TypeAlias instance acts as an alias.

class:

multiplicity:

Classifier
exactly one

   alias

Identifies the TypeAliases that have been defined for a particular Classifier instance.

class:

multiplicity:

TypeAlias
zero or more

   5.4.2.2 EnumerationLiterals Protected

   The EnumerationLiterals association links enumeration literals to the Enumeration instances that contain them.

   If the Enumeration’s isOrdered attribute is True, the ordering constraint on the association is relevant. Otherwise, it is ignored.

   Ends

   enumeration literal

Identifies the Enumeration instance for which this enumeration literal is relevant.

class:

multiplicity:

Enumeration
exactly one

Identifies the EnumerationLiteral instances relevant for a particular Enumeration instance. If the Enumeration’s isOrdered attribute is True, the ordering constraint on this association end can be used to determine a logical ordering for the EnumerationLiteral instances. Otherwise, ordering is ignored.

class:

multiplicity:

aggregation:

EnumerationLiteral
one or more; ordered
composite

   5.4.2.3 UnionDiscriminator

   The UnionDiscriminator association connects a Union instance with the StructuralFeature instance that can be used to determine which UnionMember instance is currently present in the Union instance. This “discriminating? attribute may be a feature of the UnionMembers themselves or may be a feature of some Classifier that contains the Union instance as one of its Features. In the former case, the discriminating feature will usually be present at the same offset in each UnionMember instance. If the discriminator reference is empty for a particular Union instance, it is considered to be an “undiscriminated? Union and determination of the current UnionMember residing in the Union is usage-defined.

   Ends

   discriminator

Identifies the StructuralFeature instance that serves as the discriminator for the Union.

class:

multiplicity:

StructuralFeature
zero or one

   discriminatedUnion

Identifies the Union instances in which a particular StructuralFeature acts as the discriminator.

class:

multiplicity:

Union
zero or more