Setting up Java specific information for attributes (Java code)
In addition to the standard Attribute properties in Modeler, you can apply the «Java Attribute» stereotype to an Attribute, and then use its Tag Definitions to define Java specific information.
1. If you have not done so already, add the Java Profile package to your Model.
How?
4. Apply the «Java Attribute» stereotype to the Attribute.
5. Open the Attribute's Property Pages, and then click the Java Attribute tab.
6. If you want to specify a field modifier in front of the attribute's data type, set the tagged value of the Java Field Modifier to volatile, transient or volatile transient.
7. If you want to specify an array for the Attribute, specify the required pairs of empty brackets as the tagged value of the Java Array Spec tag definition.
8. If you want to specify that the attribute has no access specifier, set the tagged value of the Java Default Access tag definition to TRUE.
9. If the Attribute is using a Java Generic for its data type and you want to specify the arguments that are passed to the generic type, set the tagged value of the Java Actual Arguments tag definition to the actual arguments.
10. If you want to generate the Attribute's data type with a qualified name, set the tagged value of the Java Needs Qualified Type tag definition to TRUE.