[mdr-users] continueing . . How to create Associations and AssociationEnd?
Leena Borle <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi ,
Thanks for the prompt reply for my previous mail. It says,
>
To associate an attribute with a mof class, just add the attribute to
the contents of that class:
mofClass.getContents().add(attribute)
This solution is fine if an attribute is of type primitive or any
Java class. But if it is another MofClass(which means user defined
class or interface), Don't I need to create some kind of
reference/association between the two classes ?
This also applies for creating and association between current
class and its super classes which again will be MofClasses. Hw do I
achieve this?
Thanks
Leena