Beispiel #1
0
  public Email removeEmail(Email email) {
    getEmails().remove(email);
    email.setPersona(null);

    return email;
  }
Beispiel #2
0
  public Email addEmail(Email email) {
    getEmails().add(email);
    email.setPersona(this);

    return email;
  }