Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enums

 
Will Myers
Ranch Hand
Posts: 388
Java jQuery Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have started on my assignment and I seem to have ended up with quite a few enum classes, is this normal or am I going into too much detail? Do I need to show them or just have them mentioned in the domain classes?
 
Yegor Bugayenko
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just mentioned them. I think that most of enums should be defined by designers, not by architects.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my case i have shown enums using stereotype <<Enum>> in the class diagrams. I have used enums to represent various possible order statuses in my solution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic