And how could I customize the code generation for getting a valid enum-Implementation?
class: <<Enum>> Days
attribute: <<EnumValues>> values : int = {MON,TUE,WED,THU,FRI,SAT,SUN}
public enum Days {
MON,TUE,WED,THU,FRI,SAT,SUN
}
* use “enum” instead “class” if class has “Enum” stereotype
* ignore the attribute type and name if it has “EnumValues” stereotype
* just get the initial values of <<EnumValues>> flagged attribute