if (getAutoRenew() != null) sb.append("AutoRenew: ").append(getAutoRenew()).append(","); if (getAdminContact() != null) sb.append("AdminContact: ").append("***Sensitive Data Redacted***").append(","); if (getRegistrantContact() != null)
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode()); hashCode = prime * hashCode + ((getNameservers() == null) ? 0 : getNameservers().hashCode()); hashCode = prime * hashCode + ((getAutoRenew() == null) ? 0 : getAutoRenew().hashCode()); hashCode = prime * hashCode + ((getAdminContact() == null) ? 0 : getAdminContact().hashCode()); hashCode = prime * hashCode + ((getRegistrantContact() == null) ? 0 : getRegistrantContact().hashCode()); hashCode = prime * hashCode + ((getTechContact() == null) ? 0 : getTechContact().hashCode()); hashCode = prime * hashCode + ((getAdminPrivacy() == null) ? 0 : getAdminPrivacy().hashCode()); hashCode = prime * hashCode + ((getRegistrantPrivacy() == null) ? 0 : getRegistrantPrivacy().hashCode()); hashCode = prime * hashCode + ((getTechPrivacy() == null) ? 0 : getTechPrivacy().hashCode()); hashCode = prime * hashCode + ((getRegistrarName() == null) ? 0 : getRegistrarName().hashCode()); hashCode = prime * hashCode + ((getWhoIsServer() == null) ? 0 : getWhoIsServer().hashCode()); hashCode = prime * hashCode + ((getRegistrarUrl() == null) ? 0 : getRegistrarUrl().hashCode()); hashCode = prime * hashCode + ((getAbuseContactEmail() == null) ? 0 : getAbuseContactEmail().hashCode()); hashCode = prime * hashCode + ((getAbuseContactPhone() == null) ? 0 : getAbuseContactPhone().hashCode()); hashCode = prime * hashCode + ((getRegistryDomainId() == null) ? 0 : getRegistryDomainId().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getUpdatedDate() == null) ? 0 : getUpdatedDate().hashCode()); hashCode = prime * hashCode + ((getExpirationDate() == null) ? 0 : getExpirationDate().hashCode()); hashCode = prime * hashCode + ((getReseller() == null) ? 0 : getReseller().hashCode()); hashCode = prime * hashCode + ((getDnsSec() == null) ? 0 : getDnsSec().hashCode()); hashCode = prime * hashCode + ((getStatusList() == null) ? 0 : getStatusList().hashCode()); return hashCode; }
if (other.getAutoRenew() != null && other.getAutoRenew().equals(this.getAutoRenew()) == false) return false; if (other.getAdminContact() == null ^ this.getAdminContact() == null) return false; if (other.getAdminContact() != null && other.getAdminContact().equals(this.getAdminContact()) == false) return false; if (other.getRegistrantContact() == null ^ this.getRegistrantContact() == null)