Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] How to use the Inter-model references
[ATL] How to use the Inter-model references [message #538142] Sat, 05 June 2010 16:40 Go to next message
kikou  is currently offline kikou
Messages: 7
Registered: May 2010
Junior Member
Hi ,
Could you please tell me how to use the "Inter-model references ". I mean by that how to reference a Class of a MetaModel which is used as an input one.
Thanks.

Kikou
Re: [ATL] How to use the Inter-model references [message #538596 is a reply to message #538142] Tue, 08 June 2010 07:55 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 523
Registered: July 2009
Senior Member
Just activate the option and find a way to "find" the element to be referenced.
You can also use allInstancesFrom('name_of_the_model_to_reference') to limit the search :

MetaModel!Class.allInstancesFrom('IN_REF')->select(e | e.name = 'XX')->first()
Previous Topic:[xtend] workflow error
Next Topic:[ATL] Problem about a Rule with two Input Models and one output Model
Goto Forum:
  


Current Time: Fri Oct 24 17:04:25 GMT 2014

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

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