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 06:30 Go to next message
Miguel Llàcer San Fernando is currently offline Miguel Llàcer San Fernando
Messages: 63
Registered: July 2009
Member
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 07:03 Go to previous message
Ronan B is currently offline Ronan B
Messages: 234
Registered: July 2009
Senior Member
Hi,
Have you tried putting rule in quotes e.g. "rule" <- i."rule"
Regards,
Ronan
Previous Topic:[ATL] Transformation Problem in Helios
Next Topic:[QVTo] QVTo file as target model
Goto Forum:
  


Current Time: Wed Aug 27 23:21:28 EDT 2014

Powered by FUDForum. Page generated in 0.01514 seconds