Navigation through associations [message #626614] |
Sat, 24 May 2008 22:56 |
Timothy Marc Messages: 547 Registered: July 2009 |
Senior Member |
|
|
Hi all,
i have a problem concering the evaluation of navigable ends from an
association. In fact:
I have two classes A and B, where I can navigate through B but not in
opposite. With eclipse's uml diagram editor, i have modeled these
classes and add an Association between them. As MemberEnd the
Association got Class A and B, as NavigableOwnedEnd, the Association got
ONLY Class B.
Is this the correct way to model only a one way navigation from class A
to class B? And how to exactly query this?
When i try asso.getNavigableOwnedEnds() then i get the Property, but
there is no possibility to identify this property as an associaton for
class A. It could also be a Property in class B. I miss something like
ownedEnd.ownedBy()...
I'm a clear? Any help will be appreciated.
Thx
--tm
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds