Previous | UML Classes | Table of Contents | UML Packages | Next |
An enumeration literal is a user-defined data value for an enumeration.
•
InstanceSpecification (from Kernel ) on page 83
An enumeration literal is a user-defined data value for an enumeration.
No additional attributes
• enumeration: Enumeration[0..1] The Enumeration that this EnumerationLiteral is a member of. Subsets
NamedElement ::namespace
No additional constraints
An EnumerationLiteral defines an element of the run-time extension of an enumeration data type.
An EnumerationLiteral has a name that can be used to identify it within its enumeration datatype. The enumeration literal
name is scoped within and must be unique within its enumeration. Enumeration literal names are not global and must be qualified
for general use.
The run-time values corresponding to enumeration literals can be compared for equality.
An EnumerationLiteral is typically shown as a name, one to a line, in the compartment of the enumeration notation.