Java Annotation


This is only a EclipseUML 2008 feature.
EclipseUML allows to create the following mapping association and add annotations:
  1. One to One
  2. One to Many
  3. Many to One
  4. Many to Many
The Database Mapping menu is available in the Class diagram Association top down menu Database Mapping > ....
Click on the arrow to open the top down menu.







1. One to One Mapping

Click on the association arrow in the toolbar > Database Mapping > One to One > bi-directional
Then move your mouse on the first class and click.
finally move the link to the second class and click.

The annotation has been added on the getter and the UML editor has been updated.