An
enumeration is a type defined by a set of literal. In UML, an enumeration is
described by a class whose stereotype is <<enumeration>>.
The scope of an enumeration is the model in which it is
defined. Two enumeration types may define the same literal. It is the
context that indicates which enumeration type should be considered.
The attributes of the class define the literal ones. Only
the name of an attribute is meaningful.