Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [XCore] Cross-Reference vs Container Reference
[XCore] Cross-Reference vs Container Reference [message #1745895] Wed, 19 October 2016 05:47 Go to next message
chris yo is currently offline chris yoFriend
Messages: 146
Registered: February 2013
Senior Member
I am still learning how to use XCore and I am quite confused with Cross-Reference and Container Reference.

I know Cross-Reference uses the "refers" keyword then you can link it with "opposite" while Container Reference uses the "container" keyword.

But aside from that, what is the difference between the two? When should I use Cross-Reference and when should I use container reference?
Re: [XCore] Cross-Reference vs Container Reference [message #1745902 is a reply to message #1745895] Wed, 19 October 2016 06:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
You might consult Google first. Here's one of many answers you'd find.

http://stackoverflow.com/questions/3793527/what-is-the-difference-in-ecore-between-containment-and-reference


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Model: abstract or interface?
Next Topic:EcoreUtil.resolveAll()
Goto Forum:
  


Current Time: Fri Apr 26 10:02:10 GMT 2024

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

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

Back to the top