final Contact other = (Contact) object;
- if (!Objects.equals(this.getContactCity(), other.getContactCity())) {
+ if (!Objects.equals(this.getContactBirthday(), other.getContactBirthday())) {
+ return false;
+ } else if (!Objects.equals(this.getContactCity(), other.getContactCity())) {
+ return false;
+ } else if (!Objects.equals(this.getContactComment(), other.getContactCountry())) {
+ return false;
+ } else if (!Objects.equals(this.getContactCountry(), other.getContactCountry())) {
return false;
} else if (!Objects.equals(this.getContactEmailAddress(), other.getContactEmailAddress())) {
return false;
} else if (!Objects.equals(this.getContactFamilyName(), other.getContactFamilyName())) {
return false;
+ } else if (!Objects.equals(this.getContactFaxNumber(), other.getContactFaxNumber())) {
+ return false;
} else if (!Objects.equals(this.getContactFirstName(), other.getContactFirstName())) {
return false;
- } else if (!Objects.equals(this.getContactStreet(), other.getContactStreet())) {
+ } else if (!Objects.equals(this.getContactHouseNumber(), other.getContactHouseNumber())) {
return false;
- } else if (!Objects.equals(this.getContactTitle(), other.getContactTitle())) {
+ } else if (!Objects.equals(this.getContactHouseNumberExtension(), other.getContactHouseNumberExtension())) {
return false;
- } else if (!Objects.equals(this.getContactBirthday(), other.getContactBirthday())) {
+ } else if (!Objects.equals(this.getContactId(), other.getContactId())) {
return false;
- } else if (!Objects.equals(this.getContactCountry(), other.getContactCountry())) {
+ } else if (!Objects.equals(this.getContactLandLineNumber(), other.getContactLandLineNumber())) {
+ return false;
+ } else if (!Objects.equals(this.getContactMobileNumber(), other.getContactMobileNumber())) {
return false;
} else if (this.getContactPersonalTitle() != other.getContactPersonalTitle()) {
return false;
- } else if (!Objects.equals(this.getContactHouseNumber(), other.getContactHouseNumber())) {
+ } else if (!Objects.equals(this.getContactStreet(), other.getContactStreet())) {
return false;
- } else if (!Objects.equals(this.getContactHouseNumberExtension(), other.getContactHouseNumberExtension())) {
+ } else if (!Objects.equals(this.getContactTitle(), other.getContactTitle())) {
+ return false;
+ } else if (!Objects.equals(this.getContactZipCode(), other.getContactZipCode())) {
+ return false;
+ } else if (!Objects.equals(this.isOwnContact(), other.isOwnContact())) {
return false;
}
hash = 29 * hash + Objects.hashCode(this.getContactBirthday());
hash = 29 * hash + Objects.hashCode(this.getContactCity());
+ hash = 29 * hash + Objects.hashCode(this.getContactComment());
hash = 29 * hash + Objects.hashCode(this.getContactCountry());
hash = 29 * hash + Objects.hashCode(this.getContactEmailAddress());
hash = 29 * hash + Objects.hashCode(this.getContactFamilyName());
+ hash = 29 * hash + Objects.hashCode(this.getContactFaxNumber());
hash = 29 * hash + Objects.hashCode(this.getContactFirstName());
- hash = 29 * hash + Objects.hashCode(this.getContactPersonalTitle());
hash = 29 * hash + Objects.hashCode(this.getContactHouseNumber());
hash = 29 * hash + Objects.hashCode(this.getContactHouseNumberExtension());
+ hash = 29 * hash + Objects.hashCode(this.getContactId());
+ hash = 29 * hash + Objects.hashCode(this.getContactLandLineNumber());
+ hash = 29 * hash + Objects.hashCode(this.getContactMobileNumber());
+ hash = 29 * hash + Objects.hashCode(this.getContactPersonalTitle());
hash = 29 * hash + Objects.hashCode(this.getContactStreet());
hash = 29 * hash + Objects.hashCode(this.getContactTitle());
+ hash = 29 * hash + Objects.hashCode(this.getContactZipCode());
+ hash = 29 * hash + Objects.hashCode(this.isOwnContact());
return hash;
}