Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Dissolving References?
Dissolving References? [message #431905] Wed, 29 July 2009 08:06 Go to next message
philipp huebner is currently offline philipp huebnerFriend
Messages: 65
Registered: July 2009
Member
Hi folks,
I have a problem concerning cross references. I modelled a refereces
between to objects. When I delete the object which holds the reference, it
deletes the referenced object, too. I dont't want this behaviour, just a
simple reference i can dynamically change and delete. What did I do wrong?
Re: Dissolving References? [message #431921 is a reply to message #431905] Wed, 29 July 2009 16:40 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Philipp,

Comments below.

philipp huebner wrote:
> Hi folks,
> I have a problem concerning cross references. I modelled a refereces
> between to objects. When I delete the object which holds the
> reference, it deletes the referenced object, too.
Sounds like a containment reference is involved.
> I dont't want this behaviour, just a simple reference i can
> dynamically change and delete. What did I do wrong?
You've said very little for me to go on. Generally if you delete an
object, all objects recursively contained by containment references will
be deleted as well...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Headless mode, project creation + code generation
Next Topic:Dynamic subclassing of static model classes
Goto Forum:
  


Current Time: Fri Apr 26 06:51:47 GMT 2024

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

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

Back to the top