[Uml-user] Enumeration in diagram class

Jonathan Riddell jr at jriddell.org
Wed May 14 15:44:12 UTC 2003


On Wed, 14 May 2003, Sebastian Stein wrote:

> Fidel Cornelis <belga at infonegocio.com> [030514 20:41]:
> > Can I do an enumeration in diagram class?
> > How I do?
>
> 1. create a class
> 2. give it the stereotype "Enumeration"
> 3. add attributes without a type
> 4. generate the source code
>
> This may only work with the latest CVS version...

There is an enumeration type in UML but it's yet to be implemented in
Umbrello.  It may well be worth adding it especially with Java adding
enumberations soon.  Currently try as Sebastian suggests above although
I'm not sure how well that will work.

Jonathan Riddell






More information about the umbrello mailing list