Exemple #1
0
 public void removeBookTitle(BookTitle bt) {
   bookTitles.remove(bt);
   bt.removeCustomer(this);
 }
Exemple #2
0
 // Associations
 public void addBookTitle(BookTitle bt) {
   if (!bookTitles.contains(bt)) {
     bookTitles.add(bt);
     bt.addCustomer(this);
   }
 }