Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] One transformation on two models
[QVTo] One transformation on two models [message #657026] Tue, 01 March 2011 11:55 Go to next message
Haffi is currently offline HaffiFriend
Messages: 39
Registered: November 2010
Member
Hi,

I have two models to make transformations on, where elements in the models are related. To be more precise, this is a UML model and a GMF notation model. So the transformation would have the two models as inputs and output new models of same types (a UML and a notation model). Is this possible with one transformation? How would the transformation signature look?
Re: [QVTo] One transformation on two models [message #657050 is a reply to message #657026] Tue, 01 March 2011 12:56 Go to previous message
Dennis HendriksFriend
Messages: 67
Registered: January 2010
Location: The Netherlands
Member
I think it is actually kind of obvious: you just add more inputs/outputs:

transformation transformationName(in input1 : UML, in input2:
GMFNotationModel, out output1 : UML, out output2: GMFNotationModel)

or something like that...

Dennis



Haffi wrote:
> Hi,
>
> I have two models to make transformations on, where elements in the
> models are related. To be more precise, this is a UML model and a GMF
> notation model. So the transformation would have the two models as
> inputs and output new models of same types (a UML and a notation model).
> Is this possible with one transformation? How would the transformation
> signature look?
Previous Topic:M2M with interfaces
Next Topic:[ATL]referencing problem
Goto Forum:
  


Current Time: Mon Apr 12 13:28:57 GMT 2021

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

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

Back to the top