Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Use of key words as Model Element Data Type
[ATL] Use of key words as Model Element Data Type [message #644830] Tue, 14 December 2010 11:30 Go to next message
Miguel Llàcer San Fernando is currently offline Miguel Llàcer San FernandoFriend
Messages: 63
Registered: July 2009
I have a metamodel which contains an Element (Pattern) which contains a Reference (rule) to another Element (Rule).

from i : MM!Pattern
to o : MM!Pattern (rule <- i.rule)

When I try to assign value to this Reference (rule), ATL Compiler shows an error.
Yes, I know, rule is a key word !!!

So, how can I use this element reference in ATL ?¿?

Thanks in advice
Re: [ATL] Use of key words as Model Element Data Type [message #644833 is a reply to message #644830] Tue, 14 December 2010 12:03 Go to previous message
Ronan B is currently offline Ronan BFriend
Messages: 261
Registered: July 2009
Senior Member
Have you tried putting rule in quotes e.g. "rule" <- i."rule"
Previous Topic:[ATL] Transformation Problem in Helios
Next Topic:[QVTo] QVTo file as target model
Goto Forum:

Current Time: Thu Nov 26 03:40:43 GMT 2015

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

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