ST6RI-874 Features subset each other in Transfers and Flows library models (KERML11-78, SYSML21-324)#682
Conversation
martynaslelevicius
approved these changes
Jul 31, 2025
- Also corrected the training model Flow Definition Example. - Updated the model library index.
martynaslelevicius
approved these changes
Jul 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
TransferstransfersandmessageTransferssteps instead of flows. As a result, these features no longer have implied subsettings offlowTransfers.Systems Library
FlowsMessageand the flow usagemessages. As a result,messagesno longer has an implied subsetting offlows.flowsandsuccessionFlowsfrommessagetoflow, since these flow usages still have owned end features and, therefore, are not message flows.Validation
KerMLValidatorvalidateConnectorBinarySpecializationto properly handle redefined features when counting connector ends. Otherwise, it was incorrectly reporting a validation error onmessagesas modified above.Backward Incompatibilities
sourceandtargetofMessageandmessagesare 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 besourceEventandtargetEventwhich are still occurrence usages.validateConnectorBinarySpecializationcheck may result both in cases in which a previously valid model becomes invalid or a previously invalid model becomes valid.