permaculture playing cards*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Properties, enumerations, and the UML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Properties, enumerations, and the UML" Watch "Properties, enumerations, and the UML" New topic

Properties, enumerations, and the UML

Colin McGraw

Joined: Jul 31, 2003
Posts: 2
I have a class that has a property whose value relates to an enumeration within the class. I'm unsure HOW to express this in the UML, and was hoping someone here can tell me.
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
What exactly do you mean by "enumeration"? What are you drawing the UML diagrams for?

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
It is sorta covered in the JavaRanch Style Guide.
subject: Properties, enumerations, and the UML