ST6RI-874 Features subset each other in Transfers and Flows library models (KERML11-78, SYSML21-324) #682
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR proactively fixes the following issues, even though resolutions for them have not yet been approved by the KerML 1.1 RTF or SysML 2.1 RTF:
Model Libraries
Kernel Semantic Library
Transfers
transfers
andmessageTransfers
steps instead of flows. As a result, these features no longer have implied subsettings offlowTransfers
.Systems Library
Flows
Message
and the flow usagemessages
. As a result,messages
no longer has an implied subsetting offlows
.flows
andsuccessionFlows
frommessage
toflow
, since these flow usages still have owned end features and, therefore, are not message flows.Validation
KerMLValidator
validateConnectorBinarySpecialization
to properly handle redefined features when counting connector ends. Otherwise, it was incorrectly reporting a validation error onmessages
as modified above.Backward Incompatibilities
source
andtarget
ofMessages
andmessages
are now inherited and are no longer occurrence usages. This means that they cannot be used as the referenced occurrences in an event occurrence usage. However, this is appropriate, because the referenced events for a message should instead besourceEvent
andtargetEvent
which are still occurrence usages.validateConnectorBinarySpecialization
check may result both in cases in which a previously valid model becomes invalid or a previously invalid model becomes valid.