Esempio n. 1
0
  public Advertisement removeAdvertisement(Advertisement advertisement) {
    getAdvertisements().remove(advertisement);
    advertisement.setPlace(null);

    return advertisement;
  }
Esempio n. 2
0
  public Advertisement addAdvertisement(Advertisement advertisement) {
    getAdvertisements().add(advertisement);
    advertisement.setPlace(this);

    return advertisement;
  }