-
Key: QVT14-41
-
Status: open
-
Source: Model Driven Solutions ( Dr. Edward Willink)
-
Summary:
QVTo has stereotypedBy and stereotypedStrictlyBy helpers and a * shortform to assist in the use of stereotypes, but seemingly only for read purposes.
QVTc and QVTr have no overt support for stereotypes.
Document why it isn't necessary.
QVTo's myClass.stereotypedBy(MyStereotype) invocation is actually just the myClass.extension_MyStereotype <> null predicate. QVTc and QVTr can therefore support stereotypes using normal navigation. And as declarative transformation languages a stereotype navigation in the target domain is a stereotype assignment.
QVTo should support stereotype assignment by:
myClass.extension_MyStereotype := ...
Just need an OclElement.allExtensions() helper to support reasoning on the actual steotypes without knowing which ones to 'poll'.
-
Reported: QVT 1.3 — Fri, 10 Jun 2016 09:54 GMT
-
Updated: Fri, 10 Jun 2016 09:54 GMT