Skip to main content



      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 12:40 Go to next message
Eclipse UserFriend
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 03:55 Go to previous message
Eclipse UserFriend
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: Wed Jun 18 02:36:04 EDT 2025

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

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

Back to the top