Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chapter 9 - Cade's book - class diagram question

 
Nilessh Ganu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The relationship is showing it so the member variable is redundant. Similarly, not all getters/setters are shown.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic