|HowTo use meta model class as type or parameter [message #1717516]
||Mon, 14 December 2015 14:09
| Joachim Engelhardt
Registered: September 2013
I'm working on a transformation rule from my own Ecore meta model to the
UML Ecore model. I'm quite new to ATL and want to know, how I can use a
meta model class in a rule, e.g. to set it as a type for a property or
call a ecore method which expects it as parameter.
In particular, I want to create a property with the specific type UML!Element.
Therefore, I use something like
type <- UML!Element
but this is not correct.
In another case, I want to create a UML Extension using the Ecore
Operation Stereotype.createExtension(metaclass: UML!Class, isrequired,
How do I get the type of UML!Class?
Thank you in advance,
[Updated on: Mon, 14 December 2015 14:14]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01856 seconds