public boolean equals(ThriftMalformedStreamDefinitionException that) { if (that == null) return false; boolean this_present_message = true && this.isSetMessage(); boolean that_present_message = true && that.isSetMessage(); if (this_present_message || that_present_message) { if (!(this_present_message && that_present_message)) return false; if (!this.message.equals(that.message)) return false; } return true; }
public int compareTo(ThriftMalformedStreamDefinitionException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; ThriftMalformedStreamDefinitionException typedOther = (ThriftMalformedStreamDefinitionException) other; lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message); if (lastComparison != 0) { return lastComparison; } } return 0; }
/** Performs a deep copy on <i>other</i>. */ public ThriftMalformedStreamDefinitionException(ThriftMalformedStreamDefinitionException other) { if (other.isSetMessage()) { this.message = other.message; } }