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.

Note In most cases, notes are to be added via the Modelio "Properties" view or in diagrams.

Code notes

Note type Applicable on Usage

JavaCode

enumerationliteral EnumerationLiteral
operation Operation

Define java code implementation.

JavaSuper

operation Operation

Define java code inserted at the beginning of the implementation.

JavaReturned

operation Operation

Define java code inserted at the end of the implementation.

JavaInitValue

associationend AssociationEnd

Set initialization code for the field.

JavaAnnotation

associationend AssociationEnd
attribute Attribute
enumerationliteral EnumerationLiteral
generalization Generalization
interfacerealization InterfaceRealization
javaclass JavaClass
javadatatype JavaDataType
javaenumeration JavaEnumeration
javainterface JavaInterface
javapackage JavaPackage
jpmsmodule JpmsModule
operation Operation
parameter Parameter
raisedexception RaisedException
templateparameter TemplateParameter

Specify java annotations added to this element.
Example: @Deprecated, @Override, @Entity…​

JavaMembers

javaclass JavaClass
javadatatype JavaDataType
javaenumeration JavaEnumeration
javainterface JavaInterface

Insert a text (unchanged) in the declaration’s body.
Can be useful to quickly insert hard-to-model parts, but reduces the completeness of the model itself.

Comment notes

Important 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

javaclass JavaClass
javadatatype JavaDataType
javaenumeration JavaEnumeration
javainterface JavaInterface
jpmsmodule JpmsModule

Insert a text (unchanged) before the declaration.

JavaTop

javaclass JavaClass
javadatatype JavaDataType
javaenumeration JavaEnumeration
javainterface JavaInterface
jpmsmodule JpmsModule

Insert a text (unchanged) before the java package instruction.

JavaInitValueComment

associationend AssociationEnd
attribute Attribute
enumerationliteral EnumerationLiteral

Add a comment after an initial value.
Java comment markers (// or /* */) are added automatically at generation.

JavaComment

javaclass JavaClass
javadatatype JavaDataType
javaenumeration JavaEnumeration
javainterface JavaInterface
jpmsmodule JpmsModule
associationend AssociationEnd
attribute Attribute
enumerationliteral EnumerationLiteral
operation Operation

Add a non-javadoc comment on the element.
Java comment markers (// or /* */) are added automatically at generation.

SeeJavadoc

seejavadoc SeeJavadoc

Contain the format of a @see javadoc annotation.

JavaBottom

javaclass JavaClass
javadatatype JavaDataType
javaenumeration JavaEnumeration
javainterface JavaInterface
jpmsmodule JpmsModule

Insert a text (unchanged) after the declaration.