IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply 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: 50
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: 50
Thanks Marcelo
 
IntelliJ Java IDE
 
subject: Including getters/setters on Entities within class diagram for Assigment
 
Threads others viewed
Super construction work
Field vs Property access for Entities
Recieving 'null' values from a jsp page in Struts2 Action
Problem formatting dates.
Getter and setter in part2
MyEclipse, The Clear Choice