Visiting Model Elements

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Re: Visiting Model Elements

Postby Kristina Hildebrand » Thu Dec 08, 2005 11:44 am

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. :)

Kristina Hildebrand
Posts Rating:


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 4 guests