The tagged values provided by Modelio Java Designer are designed to let you
adapt Java semantics to a UML model, in order to generate all Java notions
accurately. For example, the notion of native method in Java does not exist in
UML. A {JavaNative} tagged value on a UML operation enables you to specify
this on a model.
Name | Label | Parameters | Role |
JavaStatic | Static | N/A | Used to declare the embedded class as being static. |
JavaExtends | Extends | name of the parent class | Inherits non-modeled classes. |
JavaImplements | Implements | names of implemented interfaces | Implements non-modeled interfaces. |
JavaImport | Imports | names of the imported classes and packages | Imports non-modeled packages and classes. |
JavaExtern | Extern | N/A | Indicates a class for which code must not be generated. |
nocode | | N/A | Prevents this class from being generated. No Java file is generated for this class. |
persistence | | N/A | Specifies that the class is persistent. |
Name | Label | Parameters | Role |
JavaWrapper | Use wrapped type | N/A | Uses the Wrapper class as base type (for example, Integer for int). |
type | | A collection interface | Indicates a class other than the default class for the generations related to the attribute. The {type} tagged value can be used together with the {JavaImplementationType}
tagged value to define a personalized collection. |
JavaTypeExpr | Manual type expression | text for specifying the attribute's Java type | Generation of the types that cannot be represented in Modelio (ex : int [ ] [ ]). **_Note_**: Setting an attribute's multiplicity to * leads to errors!. |
JavaFinal | Final | N/A | Representation of the Java "final" keyword. |
JavaVolatile | Volatile | N/A | Representation of the Java "volatile" keyword. |
JavaTransient | Transient | N/A | Representation of the Java "transient" keyword. |
JavaFullName | Generate full name | N/A | Allows the generation of the complete name of the class, datatype or enumeration used. |
JavaImplementationType | Collection implementation type | A collection type | Specifies the concrete collection to use in a Java5Types context. The {type} tagged value can be used together with the {JavaImplementationType} tagged value to define a personalized collection. |
JavaBind | Bind | Bound types on the attribute | Specifies the types bound by a generic attribute. |
JavaArrayDimension | Array Dimension | Integer | Specifies the number of dimensions of an array. |
nocode | | N/A | Prevents this attribute from being generated. |
persistence | | N/A | Specifies that the attribute is persistent. |
Name | Label | Parameters | Role |
type | | A collection interface | Indicates a class other than the default class for the generations related to the association. Specifies the exposed collection interface to use in a Java generation context. |
JavaFinal | Final | N/A | Representation of the Java "final" keyword. |
JavaVolatile | Volatile | N/A | Representation of the Java "volatile" keyword. |
JavaTransient | Transient | N/A | Representation of the Java "transient" keyword. |
JavaTypeExpr | Manual type expression | text for specifying the attribute's Java type | Specifies the concrete collection to use in a Java5Types context. The {type} tagged value can be used together with the {JavaImplementationType} tagged value to define a personalized collection. |
JavaFullName | Generate full name | N/A | Allows the generation of the complete name of the class, datatype or enumerate used. |
JavaImplementationType | Collection implementation type | A collection type | Specifies the concrete collection to use in a Java5Types context. |
JavaBind | Bind | Bound types on the association | Specifies the types bound by a generic association. |
JavaArrayDimension | Array Dimension | Integer | Specifies the number of dimensions of an array. |
nocode | | N/A | Prevents this association from being generated. |
ordered | | N/A | Specifies that the association is ordered. |
qualifier | | N/A | Used to define the association more finely. |
Name | Label | Parameters | Role |
JavaWrapper | Use wrapped type | N/A | Uses Wrapper as its base type (for example, Integer instead of int). |
JavaTypeExpr | Manual type expression | text for specifying the parameter's Java type | Generation of the types that cannot be represented in Modelio (ex: in [ ] [ ]). **Note:** Setting a parameter's multiplicity to * leads to errors! |
JavaFullName | Generate full name | N/A | Allows the generation of the complete name of the class, datatype or enumerate used. |
type | | name of the class for generating the parameter declaration | Indicates a class other than the default class to generate a parameter declaration. |
JavaFinal | Final | N/A | Generates the "final" keyword before a parameter. |
JavaBind | Bind | Bound types to the association | Specifies the types bound by a generic parameter. |
JavaVarArgs | Is a VarArg | N/A | Specifies that this parameter is a VarArg parameter, as defined by Java 5. |
JavaArrayDimension | Array Dimension | Integer | Specifies the number of dimensions of an array. |