-
Key: KERML_-37
-
Status: open
-
Source: Model Driven Solutions ( Mr. Ed Seidewitz)
-
Summary:
When a Feature has chainingFeatures, then it is sometimes useful to reference that last Feature in the chain in situations in which one would otherwise reference the owning Feature itself if there was no chain. For instance, in a graphical view, an edge with a chained Feature at an end will generally point to the last chainedFeature (possibly nested) rather than the chained Feature itself.
Currently, this means that it is necessary to check for a feature f whether f.chainingFeature is non-empty and, if so, use f.chainingFeature->last() instead of f. It would be more convenient to have a derived property of Feature (called, say, targetFeature) that would do this automatically, that is, be derived as
targetFeature = if chainingFeature.isEmpty() then self else chainingFeature->last() end if
-
Reported: KerML 1.0b1 — Sun, 16 Jul 2023 20:19 GMT
-
Updated: Tue, 30 Jul 2024 23:14 GMT
-
Attachments:
- Feature Chaining.svg 275 kB (image/svg+xml)
KERML_ — Add derived property for targetFeature
- Key: KERML_-37
- OMG Task Force: Kernel Modeling Language (KerML) 1.0 FTF 2