File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Getter and setter in part2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Getter and setter in part2" Watch "Getter and setter in part2" New topic

Getter and setter in part2

Alexandre Fradin

Joined: Jul 28, 2008
Posts: 17

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.

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 360
Of course not! Getters and setters are platitude in entities
Sivakumar Varadharajan

Joined: Feb 23, 2006
Posts: 16
I did not have getters or setters in my class diagram and I passed..

Sivakumar-SCJP 1.4-SCWCD- IBM Certified SOA associate - SCEA 5
Arpit Kumar Jain
Ranch Hand

Joined: Jun 05, 2010
Posts: 41
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."

Arpit Jain

I agree. Here's the link:
subject: Getter and setter in part2
It's not a secret anymore!