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