Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDev Java class diagrams - how to associate 2 classes to parent via Map?

139136Sep 12 2005 — edited Sep 13 2005
I am using 9.0.5.1 and working on some simple Class diagrams. I have learnt how to use the @associates javadoc tag and association editor to get associations displayed between classes that use Collections. However, it seem that I cannot associate the classes used for the "key" and "value" in member Map. Only a single association per member variable appears to be supported. Is this possible?

In case the above doesn't make sense, here is the code from the class with the Map member:

/**
* @associates <{score.ContentItem}>
* @associates <{score.ScoreConsolidator}>
*/
protected Map descriptionMap = new HashMap();

The diagram tool only seems to recognize the last @associates tag. I have tried a few syntaxes for refering to multiple classes to no avail.

Thanks
Drew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2005
Added on Sep 12 2005
1 comment
169 views