Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Navigability, ends owned by Association, how to relate ends and associated elements
Navigability, ends owned by Association, how to relate ends and associated elements [message #588592] Tue, 13 February 2007 11:38
Thomas Maier is currently offline Thomas MaierFriend
Messages: 117
Registered: July 2009
Senior Member
Hi all,

I am currently trying to update my code regarding the new (as of UML2
2.x) separation of ownership and navigability of association ends. With
UML2 1.x, my classes always owned the ends, so I did not have
non-navigability at all. With UML2 2.x I'd like to implement that and
it seems to me I will have more uniform code when I let the association
always own the ends and turn on/off navigability. Now I wonder how I
can relate the ends (Property objects) to the associated Class objects.
Is there some guarantee that assoc.getRelatedElements(i) "is on the same
side of assoc as" getMembers(i)? Or, put another way, how do I get the
Element-Property-pair of the "left"/one side of the assoc and how of the
"right"/other side? I wonder because I see ordered="false" in the
javadoc for getRelatedElements() and getMembers().

Thanks, Thomas.
Previous Topic:Problems with type conformance and redefinition consistency
Next Topic:type conformance
Goto Forum:
  


Current Time: Fri Apr 26 15:59:30 GMT 2024

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

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

Back to the top