Systems-Modeling / SysML-v2-Pilot-Implementation

Proof-of-concept pilot implementation of the SysML v2 textual notation and visualization
GNU Lesser General Public License v3.0
114 stars 23 forks source link

ST6RI-721 Implementation of Type::directionOf is incorrect for conjugation #519

Closed seidewitz closed 7 months ago

seidewitz commented 7 months ago
  1. Previously, TypeImpl::directionOf was implemented to return FeatureDirectionKind::INOUT in the case that the Type was conjugated and the originalDirection of the given feature was not IN or OUT. This has been corrected so that the method returns the originalDirection in this case (that is, it returns null if the originalDirection is null and INOUT if the originalDirection is INOUT).
  2. Updated Type_input_SettingDelegate and Type_output_SettingDelegate so that ownedFeatures with the relevant direction are returned, even if the Type is conjugated.