|Stereotypes and root element [message #965693]
||Wed, 31 October 2012 08:42
| Carsten Reckord
Registered: June 2012
I'm having some trouble with an in-place transformation of a UML model.
During the transformation, some new nested elements are created in the model
and a stereotype is applied to them. This works great during the
But when running the transformation with the Operational QVT Runner, the
updated UML file does not contain the stereotype applications. After some
debugging, I found the problem:
restricts the contents of the saved resource to the input model extent,
which consists only of the Model element. The stereotype application
instances, which are directly contained in the resource as siblings of the
model, are removed from the resource by that logic.
So, is there a way to add these elements to the model extent so they are
retained in the result? Should there be some metamodel specific filtering
going on that knows about UML's stereotype handling?