Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » ATL : One input model, multiple output models, how to
icon9.gif  ATL : One input model, multiple output models, how to [message #654411] Tue, 15 February 2011 16:04
Nikos Mising name is currently offline Nikos Mising nameFriend
Messages: 11
Registered: July 2009
Junior Member
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
Previous Topic:[QVTo] Adding a new element
Next Topic:ATL full Scope
Goto Forum:
  


Current Time: Thu Apr 25 10:10:40 GMT 2024

Powered by FUDForum. Page generated in 0.03268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top