KerML 1.0b2 FTF Avatar
  1. OMG Issue

KERML — The OCL for checkFeatureEndRedefinition is wrong

  • Key: KERML-17
  • Status: closed  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    The documentation for the checkFeatureEndRedefinition constraint is

    If a Feature has isEnd = true and an owningType that is not empty, then, for each direct supertype of its owningType, it must redefine the endFeature at the same position, if any.

    However, the OCL for the constraint requires the redefinitions to be of owned endFeatures of the supertypes, which is inconsistent with the constraint documentation, and is also inconsistent with the discussion in Language Description subclauses for Associations and Connectors (7.4.5 and 7.4.6) and with the corresponding Semantics subclauses (8.4.4.5 and 8.4.4.6).

  • Reported: KerML 1.0a1 — Fri, 21 Apr 2023 21:30 GMT
  • Disposition: Resolved — KerML 1.0b2
  • Disposition Summary:

    Correct the OCL for checkFeatureEndRedefinition

    Correct the OCL as suggested. Also correct the computation of the index i, and use the ownedEndFeature and endFeature properties that already exist for Type.

  • Updated: Tue, 1 Jul 2025 15:00 GMT