-
Key: KERML-123
-
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, 9 Apr 2024 23:30 GMT
KERML — Add derived property for targetFeature
- Key: KERML-123
- OMG Task Force: Kernel Modeling Language (KerML) 1.0 FTF