KerML 1.0b2 FTF Avatar
  1. OMG Issue

KERML — validateRedefinitionDirectionConformance does not account for conjugation

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

    The description of the validateRedefinitionDirectionConformance constraint (added by the resolution to KERML-20) is

    If the redefinedFeature of a Redefinition has direction in or out, then the redefiningFeature must have the same direction. If the redefinedFeature has direction inout, then the redefiningFeature must have a non-null direction.

    Consistent with this, the OCL for the constraint directly checks the direction property of the redefinedFeature. However, this does not take into account that the redefinedFeature may be inherited from a Type that is conjugated, reversing the direction of its directed Features. To account for this, the Type::directionOf operation needs to be used instead of Feature::direction.

  • Reported: KerML 1.0b1 — Sun, 15 Oct 2023 15:20 GMT
  • Updated: Mon, 8 Apr 2024 21:42 GMT