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 Chapter 9 - Cade's book - class diagram question 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 "Chapter 9 - Cade Watch "Chapter 9 - Cade New topic

Chapter 9 - Cade's book - class diagram question

Nilessh Ganu
Ranch Hand

Joined: Dec 22, 2009
Posts: 100
One question regarding the Class diagram(Figure 9.3) mentioned in the Cade's book(second edition):

Why the AvailabilityNotice class do not shows <list>bids as member variable (though there is one to many relationship with Bid class) ?
Also the required APIs like getBids are not listed anywhere in the class diagram.

Thanks in advance.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31634

The relationship is showing it so the member variable is redundant. Similarly, not all getters/setters are shown.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Chapter 9 - Cade's book - class diagram question