Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getter and setter in part2

 
Alexandre Fradin
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm working on part 2. A directive says : "Create a class diagram for the SuD. Public method names referenced in other UML diagrams (for example, sequence diagrams) should be provided".

Does it concern getter and setter too?

It is just burdening class diagram, espacially for entities.


Regards.
 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course not! Getters and setters are platitude in entities
 
Sivakumar Varadharajan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did not have getters or setters in my class diagram and I passed..
 
Arpit Kumar Jain
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Getter(s)/Setter(s) are not required to be mentioned.
However, to make the design more self explanatory, one note may enough to explain like "Getter(s)/Setter(s) are not explained in the designed and are implicit part of Entities."

Thanks
Arpit Jain
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic