| Re: [m2m-atl-dev] M2M UML transformation |
Hello everybody,
I am new in ATL. I am trying to transform an UML-model to an UML-model (2.1). I create an Model and my own profile (Topcased). I added the profile to the source-model and marked my classes and associations with my stereotypes.
I copied a snippet code from the ATL-site (ModelCopy.atl). But it dont works!!!
The classes,associations in my target-model had no stereotypes!!!!
I work with eclipse 3.3 and ATL 0.5.0.
I appreciate your help!
Thank you!
module ModelCopy;
create OUT : UML from IN : UML;
rule Association {
from s : UML!Association (s.oclIsTypeOf(UML!Association))
to t : UML!Association mapsTo s (
name <- s.name,
....
........
stereotype <- s.stereotype,
)
}
rule Class {
from s : INMODEL!Class (s.oclIsTypeOf(INMODEL!Class))
to t : OUTMODEL!Class mapsTo s (
name <- s.name,
...
.....
stereotype <- s.stereotype,
)
}
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
m2m-atl-dev mailing list
m2m-atl-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2m-atl-dev