in dubbo-serialization-extensions/dubbo-serialization-test/src/main/java/org/apache/dubbo/common/serialize/model/person/PersonInfo.java [143:196]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
PersonInfo other = (PersonInfo) obj;
if (department == null) {
if (other.department != null)
return false;
} else if (!department.equals(other.department))
return false;
if (fax == null) {
if (other.fax != null)
return false;
} else if (!fax.equals(other.fax))
return false;
if (female != other.female)
return false;
if (fullAddress == null) {
if (other.fullAddress != null)
return false;
} else if (!fullAddress.equals(other.fullAddress))
return false;
if (homepageUrl == null) {
if (other.homepageUrl != null)
return false;
} else if (!homepageUrl.equals(other.homepageUrl))
return false;
if (jobTitle == null) {
if (other.jobTitle != null)
return false;
} else if (!jobTitle.equals(other.jobTitle))
return false;
if (male != other.male)
return false;
if (mobileNo == null) {
if (other.mobileNo != null)
return false;
} else if (!mobileNo.equals(other.mobileNo))
return false;
if (name == null) {
if (other.name != null)
return false;
} else if (!name.equals(other.name))
return false;
if (phones == null) {
if (other.phones != null)
return false;
} else if (!phones.equals(other.phones))
return false;
return true;
}