/** * Performs a deep copy on <i>other</i>. */ public InvalidRequestException(InvalidRequestException other) { if (other.isSetWhy()) { this.why = other.why; } }
/** * Performs a deep copy on <i>other</i>. */ public InvalidRequestException(InvalidRequestException other) { if (other.isSetWhy()) { this.why = other.why; } }
/** * Performs a deep copy on <i>other</i>. */ public InvalidRequestException(InvalidRequestException other) { if (other.isSetWhy()) { this.why = other.why; } }
public boolean equals(InvalidRequestException that) { if (that == null) return false; boolean this_present_why = true && this.isSetWhy(); boolean that_present_why = true && that.isSetWhy(); if (this_present_why || that_present_why) { if (!(this_present_why && that_present_why)) return false; if (!this.why.equals(that.why)) return false; } return true; }
public boolean equals(InvalidRequestException that) { if (that == null) return false; boolean this_present_why = true && this.isSetWhy(); boolean that_present_why = true && that.isSetWhy(); if (this_present_why || that_present_why) { if (!(this_present_why && that_present_why)) return false; if (!this.why.equals(that.why)) return false; } return true; }
public boolean equals(InvalidRequestException that) { if (that == null) return false; boolean this_present_why = true && this.isSetWhy(); boolean that_present_why = true && that.isSetWhy(); if (this_present_why || that_present_why) { if (!(this_present_why && that_present_why)) return false; if (!this.why.equals(that.why)) return false; } return true; }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case WHY: return isSetWhy(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case WHY: return isSetWhy(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case WHY: return isSetWhy(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_why = true && (isSetWhy()); builder.append(present_why); if (present_why) builder.append(why); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_why = true && (isSetWhy()); builder.append(present_why); if (present_why) builder.append(why); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_why = true && (isSetWhy()); builder.append(present_why); if (present_why) builder.append(why); return builder.toHashCode(); }
@Override public int compareTo(InvalidRequestException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetWhy()).compareTo(other.isSetWhy()); if (lastComparison != 0) { return lastComparison; } if (isSetWhy()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.why, other.why); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(InvalidRequestException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetWhy()).compareTo(other.isSetWhy()); if (lastComparison != 0) { return lastComparison; } if (isSetWhy()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.why, other.why); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(InvalidRequestException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetWhy()).compareTo(other.isSetWhy()); if (lastComparison != 0) { return lastComparison; } if (isSetWhy()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.why, other.why); if (lastComparison != 0) { return lastComparison; } } return 0; }