[ATL] Help with 'The side effect example' [message #84433] |
Thu, 12 June 2008 14:51 |
Eclipse User |
|
|
|
Originally posted by: jmcquillan.yahoo.com
I'm new to using ATL for model transformations and I need to perform a
transformation similar to that described in the 'The side effect example'
at
http://www.eclipse.org/m2m/atl/basicExamples_Patterns/articl e.php?file=SideEffect/index.html
However, what I want to do is transform ElementA to DefinitionB but if
there is more than one ElementA with the same name then all these
ElementA's need to map to one DefinitionB. I understand how this is done
in the example but in my metamodel the DefinitionB class is not associated
with other Classes and I'm unsure how to write this using just a match
rule.
I'd be grateful if someone could give me some tips on how to use ATL for
this kind of transformation. Thanks.
Jacqui
|
|
|
Powered by
FUDForum. Page generated in 0.04035 seconds