Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Model-to-Model Transformation » refImmediateComposite() when two composits are available
refImmediateComposite() when two composits are available [message #1754215] Wed, 15 February 2017 13:22 Go to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Hi,

In ATL, when I use `refImmediateComposite()`, how can I distinguish between class if two immediate composite classes are available?

[Updated on: Wed, 15 February 2017 13:23]

Report message to a moderator

Re: refImmediateComposite() when two composits are available [message #1754249 is a reply to message #1754215] Wed, 15 February 2017 17:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5883
Registered: July 2009
Senior Member
Hi

Since refImmediateComposite is reflective it presumably returns the current container; eContainer(). Neither Ecore nor UML supports multi-containment.

Regards

Ed Willink
Re: refImmediateComposite() when two composits are available [message #1755568 is a reply to message #1754249] Sun, 05 March 2017 20:39 Go to previous message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Thank you very much.
Previous Topic:"Binding" and "BindingStat" in ATL
Next Topic:error in if condition
Goto Forum:
  


Current Time: Sun May 20 21:10:37 GMT 2018

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

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

Back to the top