Ejemplo n.º 1
0
 public void validateAdd() {
   assert (contactClassifier != null);
   assert (firstName != null);
   assert (lastName != null);
   assert (streetLine != null);
   assert (zipCode != null);
   assert (city != null);
   super.validateAdd();
 }
Ejemplo n.º 2
0
 public void merge(final Contact contact) {
   super.merge(contact);
   contactClassifier = contact.getContactClassifier();
   firstName = contact.getFirstName();
   lastName = contact.getLastName();
   streetLine = contact.getStreetLine();
   zipCode = contact.getZipCode();
   city = contact.getCity();
 }
Ejemplo n.º 3
0
 public void validateUpdate() {
   super.validateUpdate();
   validateAdd();
 }