|Re: [ATL] Two output models serialized into the same file? [message #539795 is a reply to message #539049]
||Sun, 13 June 2010 08:08
| Helko Glathe
Registered: July 2009
your EST is a UML Pofile, Thus you can use all Stereotypes and also all standard UML elements (Class, Package, Attribute etc...) as first class elements in your ATL transformation.
xyz : EST!Class ...
zyx : EST!FunctionType(
base_Class <- xyz,
Thus you must not do something like:
From my point of view, you do not need to state two output models explicitely.
The only thing you have to keep in mind is, that you must apply all Profiles (EAST Profile and explicitely all necessary sub Profiles from the EAST Profile) on the output model manualy with pure old Java Code (see uml2 package Model.applyProfile(...)) after the transformation has been done. A post processing so to say. Without doing that, no profiles will be applied on the output model when using the Profile EAST as metamodel.
[Updated on: Sun, 13 June 2010 08:12]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.23261 seconds