| 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
|
 |
 |
|
|
subject: Including getters/setters on Entities within class diagram for Assigment
|
|
|