|Re: Create Weaving Model from Transformation [message #496832 is a reply to message #496293]
||Wed, 11 November 2009 14:10
| Marcos Didonet Del Fabro
Registered: July 2009
You can create a weaving model from an ATL transformation by implementing a higher order transformation, i.e., a transformation that takes as input an ATL transformation model Mt and that produces as output a weaving model Mw'.
For instance, for every rule in Mt you can produce a WLink, and for every binding within the rule you can produce a WLinkEnd. To do that, you need to know the metamodel of ATL.
Otherwise, what is the relation between Mb and Mc? Mc is a new version of Mb? In this case, you may check the metamodel difference approaches ( http://www.eclipse.org/m2m/atl/usecases/MMIndApproachtoDiffR ep/). They focus on representing the differences between metamodels, not on updating the weaving model, but it could be an inspiration .
Powered by FUDForum
. Page generated in 0.08190 seconds