Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL transformation
ATL transformation [message #890412] Fri, 22 June 2012 04:54 Go to next message
zz Missing name is currently offline zz Missing name
Messages: 10
Registered: April 2011
Junior Member
Hello
I must transform multiple metaClass in to a single metaclass in the target model
exemple
I must transform
RCA!StructuredComponent and
RCA!Allocate and
RCA!Connector
in to
UML!Class

is that possible with ATL?

[Updated on: Fri, 22 June 2012 04:55]

Report message to a moderator

Re: ATL transformation [message #893346 is a reply to message #890412] Tue, 03 July 2012 12:05 Go to previous message
Fernanda R.F. is currently offline Fernanda R.F.
Messages: 64
Registered: May 2012
Member
Hi,

I don't know if is it what you want, but you can do this:


rule xxx {

from a: input!rule1 

to 

b: output!rule2 {
....
}

c: output!rule3 {
...
}



or something like it:


rule x1{

from a: input!class1 

to 

b: output!class2 {
....
}

rule x2 {

from a: input!class5 

to 

b: output!class2 {
....
}










Previous Topic:using if statement in a rule ?
Next Topic:ATL Execution Error
Goto Forum:
  


Current Time: Mon Jul 28 00:23:20 EDT 2014

Powered by FUDForum. Page generated in 0.08661 seconds