Skip to main content



      Home
Home » Modeling » ATL » ATL transformation
ATL transformation [message #888647] Mon, 18 June 2012 08:22 Go to next message
Eclipse UserFriend
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 06:42 Go to previous messageGo to next message
Eclipse UserFriend
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 08:02 Go to previous messageGo to next message
Eclipse UserFriend
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 14:42 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 05:25:22 EDT 2025

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

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

Back to the top