This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 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 » 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
 
Don't get me started about those stupid light bulbs.
 
subject: Including getters/setters on Entities within class diagram for Assigment