Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Ase4ka on August 03, 2012, 12:40:45 am
-
Hello!
Please help, does anybody knows how to specify values (more than 1 meaning) for the attribute, for example for an attribute type "list" i need to specify several values like "Escalated" "Not escalated", etc...
where to put these meanings?
list type was created via Settings-Code Datatypes for Java
thank you in advance
-
If I understand what you are trying to do (I'm not sure about this!), then what you can do is create an Enumeration "List" that has the values "Escalated", "NotEscalated", and so on. (In that case do not create List as a type in Settings-Code Datatypes for Java, since this is an Enumeration, not a primitive.) Then a class can have an attribute of type List.