public void validateAdd() { assert (contactClassifier != null); assert (firstName != null); assert (lastName != null); assert (streetLine != null); assert (zipCode != null); assert (city != null); super.validateAdd(); }
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(); }
public void validateUpdate() { super.validateUpdate(); validateAdd(); }