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 type definitions (Java code)
  
Setting up Java specific information for type definitions (Java code)
ACS generates only Type Definitions of type Enumeration construction.
1. If you have not done so already, add the Java Profile package to your Model. How?
2. Set the standard properties of the Type Definition as required. Tell me more...
3. Apply the «Java Enum» stereotype to the Type Definition.
For information about applying Stereotypes to an item, see Applying a stereotype to a model item.
4. Open the Type Definition's Property Pages, and then click the Java Enum 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 generate the enum with no access specifier, set the tagged value of the Java Default Access tag definition to TRUE.
6. If you want to generate the enum as a static, set the tagged value of the Java Is Static tag definition to TRUE.
7. If you want to generate the enum outside the enum construct of its parent but in the same code file, set the tagged value of the Java Non Member tag definition to TRUE.
8. If you want to specify field and method declarations for the enum, set the tagged value of the Java Enum Body tag definition to the field and method declarations you want to generate.
9. If you want to specify an implements statement for interfaces the enum implements, set the tagged value of the Java Enum Implements Text tag definition to the implements statement you want to generate.