Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Including getters/setters on Entities within class diagram for Assigment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Including getters/setters on Entities within class diagram for Assigment" Watch "Including getters/setters on Entities within class diagram for Assigment" New topic
Author

Including getters/setters on Entities within class diagram for Assigment

Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51
Hi

Just wondering if people think it is necessary to include getters/setters on the entities within the class diagram for their assignment

Thanks
Joe
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

We would normally only show important accessor methods in class diagrams. The Entities represent data from a relational database, so the private attributes can serve this purpose. But its your choice.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 51
Thanks Marcelo
 
wood burning stoves
 
subject: Including getters/setters on Entities within class diagram for Assigment
 
Similar Threads
Problem formatting dates.
Field vs Property access for Entities
Getter and setter in part2
Recieving 'null' values from a jsp page in Struts2 Action
Super construction work