Page 2 of 2

Re: Visiting Model Elements

PostPosted: Thu Dec 08, 2005 11:44 am
by Kristina Hildebrand
Kristina Hildebrand wrote:
> Tomas Pugzlys wrote:
>
>> get_directedRelationshipOfSource() method returns all client directed
>> relationships of the element.
>> get_directedRelationshipOfTarge() method returns all supplier directed
>> relationships of the element.
>
>
> I'm a little confused on the wording here. Say I'm looking for
> dependency "a" from client to supplier:
>
> ______ __________
> |client|---a--->| supplier |
> ------ ----------
>
> Will the collection returned by
> client.get_directedRelationshipOfSource() contain this
> DirectedRelationship in the list, or is it the other way around?
>
> Thanks,
> Kristina Hildebrand

Nevermind, I figured it out by trial and error, and it appears that it
is indeed how I wrote it above. :)

~K