@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_traceId = true && (isSetTraceId()); list.add(present_traceId); if (present_traceId) list.add(traceId); return list.hashCode(); }
@Override public int compareTo(validateTrace_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetTraceId()).compareTo(other.isSetTraceId()); if (lastComparison != 0) { return lastComparison; } if (isSetTraceId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.traceId, other.traceId); if (lastComparison != 0) { return lastComparison; } } return 0; }
/** 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 TRACE_ID: return isSetTraceId(); } throw new IllegalStateException(); }
public boolean equals(validateTrace_args that) { if (that == null) return false; boolean this_present_traceId = true && this.isSetTraceId(); boolean that_present_traceId = true && that.isSetTraceId(); if (this_present_traceId || that_present_traceId) { if (!(this_present_traceId && that_present_traceId)) return false; if (!this.traceId.equals(that.traceId)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public validateTrace_args(validateTrace_args other) { if (other.isSetTraceId()) { this.traceId = other.traceId; } }