-
Key: UML24-12
-
Legacy Issue Number: 14631
-
Status: closed
-
Source: NASA ( Dr. Maged Elaasar)
-
Summary:
All enumertion literals in the model have their "classifier" collections empty (i.e do not contain the corresponding enumertion)
This issue also existed in UML 2.1.1. To fix, I can add the enumeration to the "classifier" collection of the literals. But, shouldn't EnumertionLiteral have redefined "classifier" and made it derived from "enumeration" association end?
**This is a metamodel only fix
-
Reported: UML 2.3 — Wed, 18 Nov 2009 05:00 GMT
-
Disposition: Resolved — UML 2.4
-
Disposition Summary:
The classifier? association is inherited by EnumerationLiteral from InstanceSpecification in the UML spec, not in the MOF spec, which the UML metamodel is an instance of. Therefore, the enumeration literals in UML should not have this property.
However, in the UML spec, an enumeration literal?s classifier should always be set to the enumeration owning it. Therefore, classifier? should be redefined to be a derived association end that gets it value from the enumeration? property of enumeration literal, which should also be made non-optional, since an enumeration should not be owned by anything other than an enumeration. -
Updated: Fri, 6 Mar 2015 20:58 GMT
UML24 — All enumertion literals in the model have their "classifier" collections empty
- Key: UML24-12
- OMG Task Force: UML 2.4 RTF