public BusinessUserInfo deepCopy() { return new BusinessUserInfo(this); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof BusinessUserInfo) return this.equals((BusinessUserInfo)that); return false; }
return false; boolean this_present_businessId = true && this.isSetBusinessId(); boolean that_present_businessId = true && that.isSetBusinessId(); if (this_present_businessId || that_present_businessId) { if (!(this_present_businessId && that_present_businessId)) boolean this_present_businessName = true && this.isSetBusinessName(); boolean that_present_businessName = true && that.isSetBusinessName(); if (this_present_businessName || that_present_businessName) { if (!(this_present_businessName && that_present_businessName)) boolean this_present_role = true && this.isSetRole(); boolean that_present_role = true && that.isSetRole(); if (this_present_role || that_present_role) { if (!(this_present_role && that_present_role)) boolean this_present_email = true && this.isSetEmail(); boolean that_present_email = true && that.isSetEmail(); if (this_present_email || that_present_email) { if (!(this_present_email && that_present_email))
/** * Performs a deep copy on <i>other</i>. */ public BusinessUserInfo(BusinessUserInfo other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.businessId = other.businessId; if (other.isSetBusinessName()) { this.businessName = other.businessName; } if (other.isSetRole()) { this.role = other.role; } if (other.isSetEmail()) { this.email = other.email; } }
if (field.type == TType.I32) { this.businessId = iprot.readI32(); setBusinessIdIsSet(true); } else { TProtocolUtil.skip(iprot, field.type); validate();
case 18: // BUSINESS_USER_INFO if (field.type == TType.STRUCT) { this.businessUserInfo = new BusinessUserInfo(); this.businessUserInfo.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
public void clear() { setBusinessIdIsSet(false); this.businessId = 0; this.businessName = null; this.role = null; this.email = null; }
if (isSetBusinessUserInfo()) { oprot.writeFieldBegin(BUSINESS_USER_INFO_FIELD_DESC); this.businessUserInfo.write(oprot); oprot.writeFieldEnd();
/** * Performs a deep copy on <i>other</i>. */ public BusinessUserInfo(BusinessUserInfo other) { System.arraycopy(other.__isset_vector, 0, __isset_vector, 0, other.__isset_vector.length); this.businessId = other.businessId; if (other.isSetBusinessName()) { this.businessName = other.businessName; } if (other.isSetRole()) { this.role = other.role; } if (other.isSetEmail()) { this.email = other.email; } }
if (field.type == TType.I32) { this.businessId = iprot.readI32(); setBusinessIdIsSet(true); } else { TProtocolUtil.skip(iprot, field.type); validate();
case 18: // BUSINESS_USER_INFO if (field.type == TType.STRUCT) { this.businessUserInfo = new BusinessUserInfo(); this.businessUserInfo.read(iprot); } else { TProtocolUtil.skip(iprot, field.type);
public void clear() { setBusinessIdIsSet(false); this.businessId = 0; this.businessName = null; this.role = null; this.email = null; }
if (isSetBusinessUserInfo()) { oprot.writeFieldBegin(BUSINESS_USER_INFO_FIELD_DESC); this.businessUserInfo.write(oprot); oprot.writeFieldEnd();
return false; boolean this_present_businessId = true && this.isSetBusinessId(); boolean that_present_businessId = true && that.isSetBusinessId(); if (this_present_businessId || that_present_businessId) { if (!(this_present_businessId && that_present_businessId)) boolean this_present_businessName = true && this.isSetBusinessName(); boolean that_present_businessName = true && that.isSetBusinessName(); if (this_present_businessName || that_present_businessName) { if (!(this_present_businessName && that_present_businessName)) boolean this_present_role = true && this.isSetRole(); boolean that_present_role = true && that.isSetRole(); if (this_present_role || that_present_role) { if (!(this_present_role && that_present_role)) boolean this_present_email = true && this.isSetEmail(); boolean that_present_email = true && that.isSetEmail(); if (this_present_email || that_present_email) { if (!(this_present_email && that_present_email))
public void setBusinessId(int businessId) { this.businessId = businessId; setBusinessIdIsSet(true); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof BusinessUserInfo) return this.equals((BusinessUserInfo)that); return false; }
public BusinessUserInfo deepCopy() { return new BusinessUserInfo(this); }
lastComparison = Boolean.valueOf(isSetBusinessId()).compareTo(typedOther.isSetBusinessId()); if (lastComparison != 0) { return lastComparison; if (isSetBusinessId()) { lastComparison = TBaseHelper.compareTo(this.businessId, typedOther.businessId); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetBusinessName()).compareTo(typedOther.isSetBusinessName()); if (lastComparison != 0) { return lastComparison; if (isSetBusinessName()) { lastComparison = TBaseHelper.compareTo(this.businessName, typedOther.businessName); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetRole()).compareTo(typedOther.isSetRole()); if (lastComparison != 0) { return lastComparison; if (isSetRole()) { lastComparison = TBaseHelper.compareTo(this.role, typedOther.role); if (lastComparison != 0) { return lastComparison; lastComparison = Boolean.valueOf(isSetEmail()).compareTo(typedOther.isSetEmail()); if (lastComparison != 0) { return lastComparison; if (isSetEmail()) { lastComparison = TBaseHelper.compareTo(this.email, typedOther.email);
public void setBusinessId(int businessId) { this.businessId = businessId; setBusinessIdIsSet(true); }
if (!(this_present_businessUserInfo && that_present_businessUserInfo)) return false; if (!this.businessUserInfo.equals(that.businessUserInfo)) return false;