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 enumeration literals (Java code)
  
Setting up Java specific information for enumeration literals (Java code)
1. If you have not done so already, add the Java Profile package to your Model. How?
2. Set the standard properties of the Enumeration Literal as required. Tell me more...
3. Apply the «Java Enum Literal» stereotype to the Enumeration Literal.
For information about applying Stereotypes to an item, see Applying a stereotype to a model item
4. Open the Enumeration Literal's Property Pages, and then click the Java Enum Literal tab.
For information about setting the tagged value of a Tag Definition, see Setting a tagged value for an applied tag definition
5. If you want to specify default constructor values for the enum literal, set the tagged value of the Java Enum Literal Constructor Default tag definition to the default constructor you want to generate.
6. If you want to specify Java enum methods that are overloaded by the enum literal, set the tagged value of the Java Enum Literal Overrides tag definition to the Java enum methods.