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?
3. Apply the «Java Enum Literal» stereotype to the Enumeration Literal.
4. Open the Enumeration Literal's Property Pages, and then click the Java Enum Literal tab.
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.