Re: [mdr-users] How to get the class associations
Pieter Van Gorp <[email protected]> Wed, 7 Dec 2005 10:02:53 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Have you already written other small UML metaprograms? The scenario is always the same: - Retrieve a repository variable, - Get the main UML extent - Get the proxy (= factory) for your metaclass (org.omg.uml.foundation.core.UmlAssociationClass, where the Class suffix indicates it is the factory for UmlAssociation). - use create<MyMetaClass>, refAllOfClass, ... methods Cheers, Pieter On 12/4/05, Luciana Nunes Leal <[email protected]> wrote: > Hi all, > > Does anyone know how can I get the class associations? > > I would like to know both ends of the association. > > Thanks in advance, > Luciana Leal > > ________________________________ > Yahoo! doce lar. Faça do Yahoo! sua homepage. > >