EnumerationLiteral (from Datatypes)
Generalizations
EAElement (from Elements)
Description
An enumeration literal is a user-defined data value for an enumeration.
Attributes
No additional attributes
Associations
No additional associations
Constraints
No additional constraints
Semantics
An EnumerationLiteral defines an element of the run-time extension of an enumeration data type. An EnumerationLiteral has a name (inherited from EAElement) that can be used to identify it within its Enumeration datatype. The EnumerationLiteral name is scoped and must therefore be unique within its Enumeration. EnumerationLiteral names are not global and must be qualified for general use. The run-time values corresponding to EnumerationLiterals can be compared for equality.