Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Java code > Reverse engineering legacy Java code > Modeling Java code in modeler > Setting up Java specific information for attributes (Java code)
  
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?
2. Set the standard properties of the Attribute as required. Tell me more...
3. If you want to generate a Class', Data Type's or Interface's Attributes in a specific order, order the Attributes as required. Tell me more...
4. Apply the «Java Attribute» stereotype to the Attribute.
For information about applying Stereotypes to an item, see Applying a stereotype to a model item
5. Open the Attribute's Property Pages, and then click the Java Attribute tab.
For information about setting the tagged value of a Tag Definition, see Setting a tagged value for an applied tag definition
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.