[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.gmt] Re: oaw: beginner questions

No, associations are at the same level as classes/interfaces. They have
properties referencing classes/interfaces. At least this is true with a
UML2 model designed with Topcased.

Concerning queries on the respective associations, well, I already did
that or something similar with a java extension:

1)read associations and store them in an association list
2)foreach class/interface, check if there are some associations
referencing the class/interface in the list (find the respective
associations in other words).
3)If there are, get wanted information from those associations (make
queries).

Step 1 is done with one method.
Steps 2 and 3 are done with another method.

Sven Efftinge a écrit :
> Aren't those associations referenced from the classes/interfaces?
> If not you should write an extension which queries the respective
> associations.
> 
> regards,
> Sven