KerML 1.0b3 FTF Avatar
  1. OMG Issue

KERML_ — Use of memberName in OwningMembership

  • Key: KERML_-165
  • Status: open  
  • Source: The MathWorks ( Mr. Alan Moore)
  • Summary:

    In section 8.3.2.4.5 - the spec says
    A Namespace can provide names for its members via the memberNames and memberShortNames specified by the Memberships in the Namespace.
    However, the only subclass of Membership, OwningMembership redefines memberName, thus:
    8.3.2.4.8:
    /ownedMemberName : String [0..1]

    {redefines memberName}

    Presumably this means that effectively memberName must equal ownedMemberName in OwningMembership.
    There is no constraint to this effect and i can see it would be tricky, give the redefinition.
    I wonder whether the metamodel needs a bit of surgery, given that the majority of Memberships are OwningMemberships and therefore have this issue.

  • Reported: KerML 1.0b2 — Sun, 9 Feb 2025 11:56 GMT
  • Updated: Fri, 14 Feb 2025 07:07 GMT