Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » complete a model using ATL
complete a model using ATL [message #486089] Wed, 16 September 2009 10:18 Go to next message
Eclipse UserFriend
Originally posted by: kanso.marwa.gmail.com

Hello,

I am recently using ATL to complete models, I am wondering if I can create
elements using a unique lazy rule first, and once I have it in my new
model, I complete the rest of this elements informations.

I have an "Architecture without modes" model and a "Mode" model (which is
a simple state automate)
and I am trying to associate for each "Resource" in the Architecture model
the same Mode model !
(so I have one Mode model and I am associating it for each Resource)

the problem is at the states level in the Architecture, where one state is
associated to "toTransitions" and "fromTransitions" elements
and for each "Transition" I have to specify the "fromState" and the
"toState" element

As for the "fromMode" there is no problem but the "toMode" is not created
yet so I can't fill it in the model

I appreciate any possible help,
thanks,
Marwa
Re: complete a model using ATL [message #486949 is a reply to message #486089] Mon, 21 September 2009 09:45 Go to previous message
Alfons Laarman is currently offline Alfons LaarmanFriend
Messages: 35
Registered: July 2009
Member
Hi,

Did you read the documentation on the ATL execution semantics?
http://wiki.eclipse.org/ATL/User_Guide#Module_execution_sema ntics

The whole point of ATL is that it infers the execution order of dependent
rules automatically (beware this doesnt hold for called rules).


Regards,

Alfons


On 9/16/09 12:18 PM, in article
27a3cf2baff4ed317743c7859f79fad2$1@www.eclipse.org, "marwa"
<kanso.marwa@gmail.com> wrote:

> Hello,
>
> I am recently using ATL to complete models, I am wondering if I can create
> elements using a unique lazy rule first, and once I have it in my new
> model, I complete the rest of this elements informations.
>
> I have an "Architecture without modes" model and a "Mode" model (which is
> a simple state automate)
> and I am trying to associate for each "Resource" in the Architecture model
> the same Mode model !
> (so I have one Mode model and I am associating it for each Resource)
>
> the problem is at the states level in the Architecture, where one state is
> associated to "toTransitions" and "fromTransitions" elements
> and for each "Transition" I have to specify the "fromState" and the
> "toState" element
>
> As for the "fromMode" there is no problem but the "toMode" is not created
> yet so I can't fill it in the model
>
> I appreciate any possible help,
> thanks,
> Marwa
>
>
>
>
Previous Topic:[QVTO] EMF semantics of ModelExtent
Next Topic:[QVTO] OCL and QVTO
Goto Forum:
  


Current Time: Thu Apr 18 00:53:34 GMT 2024

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

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

Back to the top