Modelio Java Architect notes are used to complete the UML model with texts expressed in Java syntax.
For example, the internal processing of a method is entered as a "JavaCode" note attached to the method’s implementation.
![]() |
In most cases, notes are to be added via the Modelio "Properties" view or in diagrams. |
Code notes
Note type | Applicable on | Usage |
---|---|---|
JavaCode |
|
Define java code implementation. |
JavaSuper |
|
Define java code inserted at the beginning of the implementation. |
JavaReturned |
|
Define java code inserted at the end of the implementation. |
JavaInitValue |
|
Set initialization code for the field. |
JavaAnnotation |
|
Specify java annotations added to this element. |
JavaMembers |
|
Insert a text (unchanged) in the declaration’s body. |
Comment notes
![]() |
To write Javadoc comments on your elements, use the "Java" view. Alternatively, you can directly use the "description" note from ModelerModule. |
Note type | Applicable on | Usage |
---|---|---|
JavaHeader |
|
Insert a text (unchanged) before the declaration. |
JavaTop |
|
Insert a text (unchanged) before the java package instruction. |
JavaInitValueComment |
|
Add a comment after an initial value. |
JavaComment |
|
Add a non-javadoc comment on the element. |
SeeJavadoc |
|
Contain the format of a |
JavaBottom |
|
Insert a text (unchanged) after the declaration. |