UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — Guidance for Representing Enumeration Values

  • Key: UMLR-97
  • Legacy Issue Number: 9842
  • Status: open  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    Guidance should be given as to how to use the properties of
    EnumerationLiteral to represent the typical scenario of an
    EnumerationLiteral having a distinct value and meaning e.g. the color
    Blue is represented as the code B or the number 5. In this case I would
    expect the name of the EnumerationLiteral to be "Blue" with an
    associated LiteralString (via inherited property
    InstanceSpecification::specification) of "B" or LiteralInteger of 5. The
    notation for this could be that for default values e.g. Blue = "B" in
    the 'attribute' compartment. Or alternatively the InstanceSpecification
    syntax could be used as per Figure 7.52.

  • Reported: UML 2.5 — Tue, 27 Jun 2006 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT