Esempio n. 1
0
 @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;
 }
Esempio n. 2
0
 public void setMobilePhone(final String mobilePhone) throws XingPhone.InvalidPhoneException {
   mMobilePhone = XingPhone.createXingPhone(mobilePhone);
 }
Esempio n. 3
0
 public void setPhone(final String phone) throws XingPhone.InvalidPhoneException {
   mPhone = XingPhone.createXingPhone(phone);
 }
Esempio n. 4
0
 public void setFax(final String fax) throws XingPhone.InvalidPhoneException {
   mFax = XingPhone.createXingPhone(fax);
 }