return true;
if (obj == null)
return false;
if (!(obj instanceof ContactInfo))
return false;
final ContactInfo other = (ContactInfo) obj;
if (address == null) {
if (other.getAddress() != null)
return false;
} else if (!address.equals(other.getAddress()))
return false;
if (addressCity == null) {
if (other.getAddressCity() != null)
return false;
} else if (!addressCity.equals(other.getAddressCity()))
return false;
if (addressCountry == null) {
if (other.getAddressCountry() != null)
return false;
} else if (!addressCountry.equals(other.getAddressCountry()))
return false;
if (addressPostalCode == null) {
if (other.getAddressPostalCode() != null)
return false;
} else if (!addressPostalCode.equals(other.getAddressPostalCode()))
return false;
if (addressState == null) {
if (other.getAddressState() != null)
return false;
} else if (!addressState.equals(other.getAddressState()))
return false;
if (addressType == null) {
if (other.getAddressType() != null)
return false;
} else if (!addressType.equals(other.getAddressType()))
return false;
if (contactEmail == null) {
if (other.getContactEmail() != null)
return false;
} else if (!contactEmail.equals(other.getContactEmail()))
return false;
if (contactFacsimile == null) {
if (other.getContactFacsimile() != null)
return false;
} else if (!contactFacsimile.equals(other.getContactFacsimile()))
return false;
if (contactOrganization == null) {
if (other.getContactOrganization() != null)
return false;
} else if (!contactOrganization.equals(other.getContactOrganization()))
return false;
if (contactPerson == null) {
if (other.getContactPerson() != null)
return false;
} else if (!contactPerson.equals(other.getContactPerson()))
return false;
if (contactPosition == null) {
if (other.getContactPosition() != null)
return false;
} else if (!contactPosition.equals(other.getContactPosition()))
return false;
if (contactVoice == null) {
if (other.getContactVoice()!= null)
return false;
} else if (!contactVoice.equals(other.getContactVoice()))
return false;
if (onlineResource == null) {
if (other.getOnlineResource() != null)
return false;
} else if (!onlineResource.equals(other.getOnlineResource()))
return false;
return true;
}