UML 2.2 RTF Avatar
  1. OMG Issue

UML22 — EnumerationLiteral should constrain InstanceSpecification

  • Key: UML22-237
  • Legacy Issue Number: 9841
  • Status: closed  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    EnumerationLiteral currently inherits from InstanceSpecification.
    However it does not make sense for it to have all the capabilities of
    the latter, for example Slots.
    Therefore a constraint should be added to EnumerationLiteral as follows:
    slot.isEmpty
    Furthermore it does not make sense for EnumerationLiteral to have a
    separate classifier than its Enumeration. So the following redefinition
    should be added:
    enumeration

    {redefines classifier}

    (alternatively if this is felt too complex there should be a constraint
    {classifier.isEmpty)

    Another option would be for EnumerationLiteral to inherit from
    ValueSpecification - as suggested by the name of the class (other
    Literal classes are subtypes of ValueSpecification). However this would
    probably be too major a change to justify the benefit.

  • Reported: UML 2.0 — Tue, 27 Jun 2006 04:00 GMT
  • Disposition: Resolved — UML 2.2
  • Disposition Summary:

    No Data Available

  • Updated: Fri, 6 Mar 2015 20:58 GMT