ATL : One input model, multiple output models, how to [message #654411] |
Tue, 15 February 2011 11:04 |
Eclipse User |
|
|
|
Dear all,
I have a model (model MA conforming to metamodel MMA) with multiple instances of a specific concept (MA!Concept). I want to create a new model (model MB conforming to metamodel MMB) for each of the instances of MA!Concept .
So for my transformation I have model MA as input model and I want n instances of the MMB model as output (e.g. MB1, MB2, MB3, ... , MBn). The number n is the same with the number of concept instances MA!Concept in MA.
I could create a script for running the ATL rules multiple times but how can I pass as parameter the MA!Concept instance that is to be transformed to model MB each time? Is there a way to specify this in the ATL rules file?
Thank you,
Nikos
|
|
|
Powered by
FUDForum. Page generated in 0.02955 seconds