@Override public int hashCode() { int result = mCity != null ? mCity.hashCode() : 0; result = 31 * result + (mCountry != null ? mCountry.hashCode() : 0); result = 31 * result + (mEmail != null ? mEmail.hashCode() : 0); result = 31 * result + (mFax != null ? mFax.hashCode() : 0); result = 31 * result + (mMobilePhone != null ? mMobilePhone.hashCode() : 0); result = 31 * result + (mPhone != null ? mPhone.hashCode() : 0); result = 31 * result + (mProvince != null ? mProvince.hashCode() : 0); result = 31 * result + (mStreet != null ? mStreet.hashCode() : 0); result = 31 * result + (mZipCode != null ? mZipCode.hashCode() : 0); return result; }
public void setMobilePhone(final String mobilePhone) throws XingPhone.InvalidPhoneException { mMobilePhone = XingPhone.createXingPhone(mobilePhone); }
public void setPhone(final String phone) throws XingPhone.InvalidPhoneException { mPhone = XingPhone.createXingPhone(phone); }
public void setFax(final String fax) throws XingPhone.InvalidPhoneException { mFax = XingPhone.createXingPhone(fax); }