Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL transformation
ATL transformation [message #888647] Mon, 18 June 2012 12:22 Go to next message
zz Missing name is currently offline zz Missing name
Messages: 10
Registered: April 2011
Junior Member
Hello

I'm working for a short time at atl Transformation.

I'm working on a transformation using ATL from a UML model with a profile application to a UML model with another profile.

I want to know what are the meta-model source and target that I should specify to my transformation :

profile source --> profile target
or
UML --> UML
or
profile source, UML --> profile target, UML

thx
Re: ATL transformation [message #889548 is a reply to message #888647] Tue, 19 June 2012 10:42 Go to previous messageGo to next message
Kosala Yapa is currently offline Kosala Yapa
Messages: 159
Registered: September 2010
Senior Member
It seems to me,

source-> meta model(e.g., ecore) is UML model and its model is "profile application"
target-> meta model(e.g., ecore) is UML model and its model is "another profile"

good luck !
K
Re: ATL transformation [message #889607 is a reply to message #888647] Tue, 19 June 2012 12:02 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4046
Registered: July 2009
Senior Member
Hi

I think you may be struggling to make ATL trabsform to a profiled model
since the language appears to have no support for stereotypes.

On the input you can use getSAppliedStereotypes in helpers, and to some
extent you can use ATL's imperative charcteristics to poke the output,
but I doubt that you can use normal model transformation rules on the
stereotyped elements.

cf. QVTo that defines an A*B syntax to denote type A with the B
stereotype applied.

Regards

Ed Willink


On 18/06/2012 13:22, zz Mising name wrote:
> Hello
>
> I'm working for a short time at atl Transformation.
>
> I'm working on a transformation using ATL from a UML model with a
> profile application to a UML model with another profile.
>
> I want to know what are the meta-model source and target that I should
> specify to my transformation :
>
> profile source --> profile target
> or UML --> UML
> or profile source, UML --> profile target, UML
>
> thx
Re: ATL transformation [message #889818 is a reply to message #888647] Tue, 19 June 2012 18:42 Go to previous message
zz Missing name is currently offline zz Missing name
Messages: 10
Registered: April 2011
Junior Member
Hello
the answer is
UML -> UML, targetProfile, SourceProfile
I try it, it's work and I can apply the target profile and its stereotype

thanks for you interest
Previous Topic:XML file reading using ecore and java program
Next Topic:Is unit testing possible for atl programs?
Goto Forum:
  


Current Time: Tue Sep 23 12:21:08 GMT 2014

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

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