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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
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?


Member of MDSE Research Group
http://mdse.ui.ac.ir

[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: 7655
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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Thank you very much.

Member of MDSE Research Group
http://mdse.ui.ac.ir
Previous Topic:"Binding" and "BindingStat" in ATL
Next Topic:error in if condition
Goto Forum:
  


Current Time: Fri Apr 19 22:47:26 GMT 2024

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

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

Back to the top