Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » update problem with Bidirectional composite aggregation
update problem with Bidirectional composite aggregation [message #619429] Thu, 31 May 2007 22:55
Pradeep is currently offline PradeepFriend
Messages: 54
Registered: July 2009

When I have bi-directional associations, if I update oneside otherside is
automatically getting updated.

Does it anyway differ if I one side of the relationship is composition.


A contains a list of Bs, and Each B has a reference to A.

class A {

// I set the association to composite aggregation.
EList<B> bs;

class B {
A a;

Now, I am forced to update both the objects. Otherwise it is resulting in

Previous Topic:[Announce] MDT UML2 2.1.0 2.1RC1b is available
Next Topic:OCL Constraints within UML2
Goto Forum:

Current Time: Tue Jun 19 16:34:19 GMT 2018

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

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

Back to the top