public int compareTo(SuperColumn other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; SuperColumn typedOther = (SuperColumn) other; lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { lastComparison = TBaseHelper.compareTo(this.name, typedOther.name); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns()); if (lastComparison != 0) { return lastComparison; } if (isSetColumns()) { lastComparison = TBaseHelper.compareTo(this.columns, typedOther.columns); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(HiveObjectRef other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; HiveObjectRef typedOther = (HiveObjectRef) other; lastComparison = Boolean.valueOf(isSetObjectType()).compareTo(typedOther.isSetObjectType()); if (lastComparison != 0) { return lastComparison; } if (isSetObjectType()) { lastComparison = TBaseHelper.compareTo(this.objectType, typedOther.objectType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); if (lastComparison != 0) { return lastComparison; } if (isSetDbName()) { lastComparison = TBaseHelper.compareTo(this.dbName, typedOther.dbName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetObjectName()).compareTo(typedOther.isSetObjectName()); if (lastComparison != 0) { return lastComparison; } if (isSetObjectName()) { lastComparison = TBaseHelper.compareTo(this.objectName, typedOther.objectName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPartValues()).compareTo(typedOther.isSetPartValues()); if (lastComparison != 0) { return lastComparison; } if (isSetPartValues()) { lastComparison = TBaseHelper.compareTo(this.partValues, typedOther.partValues); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName()); if (lastComparison != 0) { return lastComparison; } if (isSetColumnName()) { lastComparison = TBaseHelper.compareTo(this.columnName, typedOther.columnName); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(KeyCount other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; KeyCount typedOther = (KeyCount) other; lastComparison = Boolean.valueOf(isSetKey()).compareTo(typedOther.isSetKey()); if (lastComparison != 0) { return lastComparison; } if (isSetKey()) { lastComparison = TBaseHelper.compareTo(this.key, typedOther.key); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCount()).compareTo(typedOther.isSetCount()); if (lastComparison != 0) { return lastComparison; } if (isSetCount()) { lastComparison = TBaseHelper.compareTo(this.count, typedOther.count); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(SliceRange other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; SliceRange typedOther = (SliceRange) other; lastComparison = Boolean.valueOf(isSetStart()).compareTo(typedOther.isSetStart()); if (lastComparison != 0) { return lastComparison; } if (isSetStart()) { lastComparison = TBaseHelper.compareTo(this.start, typedOther.start); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetFinish()).compareTo(typedOther.isSetFinish()); if (lastComparison != 0) { return lastComparison; } if (isSetFinish()) { lastComparison = TBaseHelper.compareTo(this.finish, typedOther.finish); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetReversed()).compareTo(typedOther.isSetReversed()); if (lastComparison != 0) { return lastComparison; } if (isSetReversed()) { lastComparison = TBaseHelper.compareTo(this.reversed, typedOther.reversed); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCount()).compareTo(typedOther.isSetCount()); if (lastComparison != 0) { return lastComparison; } if (isSetCount()) { lastComparison = TBaseHelper.compareTo(this.count, typedOther.count); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(ThriftJobProfile other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; ThriftJobProfile typedOther = (ThriftJobProfile) other; lastComparison = Boolean.valueOf(isSetUser()).compareTo(isSetUser()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(user, typedOther.user); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetJobID()).compareTo(isSetJobID()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(jobID, typedOther.jobID); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetJobFile()).compareTo(isSetJobFile()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(jobFile, typedOther.jobFile); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetName()).compareTo(isSetName()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(name, typedOther.name); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetQueueName()).compareTo(isSetQueueName()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(queueName, typedOther.queueName); if (lastComparison != 0) { return lastComparison; } return 0; }
public int compareTo(GeocodeResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; GeocodeResponse typedOther = (GeocodeResponse) other; lastComparison = Boolean.valueOf(isSetInterpretations()).compareTo(typedOther.isSetInterpretations()); if (lastComparison != 0) { return lastComparison; } if (isSetInterpretations()) { lastComparison = TBaseHelper.compareTo(this.interpretations, typedOther.interpretations); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDebugLines()).compareTo(typedOther.isSetDebugLines()); if (lastComparison != 0) { return lastComparison; } if (isSetDebugLines()) { lastComparison = TBaseHelper.compareTo(this.debugLines, typedOther.debugLines); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetRequestWktGeometry()).compareTo(typedOther.isSetRequestWktGeometry()); if (lastComparison != 0) { return lastComparison; } if (isSetRequestWktGeometry()) { lastComparison = TBaseHelper.compareTo(this.requestWktGeometry, typedOther.requestWktGeometry); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(IntString other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; IntString typedOther = (IntString) other; lastComparison = Boolean.valueOf(isSetMyint()).compareTo(typedOther.isSetMyint()); if (lastComparison != 0) { return lastComparison; } if (isSetMyint()) { lastComparison = TBaseHelper.compareTo(this.myint, typedOther.myint); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetMyString()).compareTo(typedOther.isSetMyString()); if (lastComparison != 0) { return lastComparison; } if (isSetMyString()) { lastComparison = TBaseHelper.compareTo(this.myString, typedOther.myString); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUnderscore_int()).compareTo(typedOther.isSetUnderscore_int()); if (lastComparison != 0) { return lastComparison; } if (isSetUnderscore_int()) { lastComparison = TBaseHelper.compareTo(this.underscore_int, typedOther.underscore_int); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(T_QueryOrderResponse other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; T_QueryOrderResponse typedOther = (T_QueryOrderResponse) other; lastComparison = Boolean.valueOf(isSetResponseCode()).compareTo(typedOther.isSetResponseCode()); if (lastComparison != 0) { return lastComparison; } if (isSetResponseCode()) { lastComparison = TBaseHelper.compareTo(this.responseCode, typedOther.responseCode); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTransactionID()).compareTo(typedOther.isSetTransactionID()); if (lastComparison != 0) { return lastComparison; } if (isSetTransactionID()) { lastComparison = TBaseHelper.compareTo(this.transactionID, typedOther.transactionID); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription()); if (lastComparison != 0) { return lastComparison; } if (isSetDescription()) { lastComparison = TBaseHelper.compareTo(this.description, typedOther.description); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(TokenRange other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; TokenRange typedOther = (TokenRange) other; lastComparison = Boolean.valueOf(isSetStart_token()).compareTo(typedOther.isSetStart_token()); if (lastComparison != 0) { return lastComparison; } if (isSetStart_token()) { lastComparison = TBaseHelper.compareTo(this.start_token, typedOther.start_token); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetEnd_token()).compareTo(typedOther.isSetEnd_token()); if (lastComparison != 0) { return lastComparison; } if (isSetEnd_token()) { lastComparison = TBaseHelper.compareTo(this.end_token, typedOther.end_token); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetEndpoints()).compareTo(typedOther.isSetEndpoints()); if (lastComparison != 0) { return lastComparison; } if (isSetEndpoints()) { lastComparison = TBaseHelper.compareTo(this.endpoints, typedOther.endpoints); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(HibariException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; HibariException typedOther = (HibariException) other; lastComparison = Boolean.valueOf(isSetTimestamp()).compareTo(typedOther.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } if (isSetTimestamp()) { lastComparison = TBaseHelper.compareTo(this.timestamp, typedOther.timestamp); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetWhat()).compareTo(typedOther.isSetWhat()); if (lastComparison != 0) { return lastComparison; } if (isSetWhat()) { lastComparison = TBaseHelper.compareTo(this.what, typedOther.what); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetWhy()).compareTo(typedOther.isSetWhy()); if (lastComparison != 0) { return lastComparison; } if (isSetWhy()) { lastComparison = TBaseHelper.compareTo(this.why, typedOther.why); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(BeeswaxException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; BeeswaxException typedOther = (BeeswaxException) other; lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { lastComparison = TBaseHelper.compareTo(this.message, typedOther.message); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLog_context()).compareTo(typedOther.isSetLog_context()); if (lastComparison != 0) { return lastComparison; } if (isSetLog_context()) { lastComparison = TBaseHelper.compareTo(this.log_context, typedOther.log_context); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetHandle()).compareTo(typedOther.isSetHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetHandle()) { lastComparison = TBaseHelper.compareTo(this.handle, typedOther.handle); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(Deletion other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; Deletion typedOther = (Deletion) other; lastComparison = Boolean.valueOf(isSetTimestamp()).compareTo(typedOther.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } if (isSetTimestamp()) { lastComparison = TBaseHelper.compareTo(timestamp, typedOther.timestamp); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSuper_column()).compareTo(typedOther.isSetSuper_column()); if (lastComparison != 0) { return lastComparison; } if (isSetSuper_column()) { lastComparison = TBaseHelper.compareTo(super_column, typedOther.super_column); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPredicate()).compareTo(typedOther.isSetPredicate()); if (lastComparison != 0) { return lastComparison; } if (isSetPredicate()) { lastComparison = TBaseHelper.compareTo(predicate, typedOther.predicate); if (lastComparison != 0) { return lastComparison; } } return 0; }
/** Performs a deep copy on <i>other</i>. */ public SuperColumn(SuperColumn other) { if (other.isSetName()) { this.name = TBaseHelper.copyBinary(other.name); ; } if (other.isSetColumns()) { List<Column> __this__columns = new ArrayList<Column>(); for (Column other_element : other.columns) { __this__columns.add(new Column(other_element)); } this.columns = __this__columns; } }
public int compareTo(LocationProperty other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; LocationProperty typedOther = (LocationProperty) other; lastComparison = Boolean.valueOf(isSetProperty()).compareTo(typedOther.isSetProperty()); if (lastComparison != 0) { return lastComparison; } if (isSetProperty()) { lastComparison = TBaseHelper.compareTo(this.property, typedOther.property); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(AuthenticationException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; AuthenticationException typedOther = (AuthenticationException) other; lastComparison = Boolean.valueOf(isSetWhy()).compareTo(typedOther.isSetWhy()); if (lastComparison != 0) { return lastComparison; } if (isSetWhy()) { lastComparison = TBaseHelper.compareTo(why, typedOther.why); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(ObjectIdListWrapper other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; ObjectIdListWrapper typedOther = (ObjectIdListWrapper) other; lastComparison = Boolean.valueOf(isSetValues()).compareTo(typedOther.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { lastComparison = TBaseHelper.compareTo(this.values, typedOther.values); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(IndexAlreadyExistsException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; IndexAlreadyExistsException typedOther = (IndexAlreadyExistsException) other; lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { lastComparison = TBaseHelper.compareTo(this.message, typedOther.message); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(FailedStatus other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; FailedStatus typedOther = (FailedStatus) other; lastComparison = Boolean.valueOf(is_set_error_message()).compareTo(typedOther.is_set_error_message()); if (lastComparison != 0) { return lastComparison; } if (is_set_error_message()) { lastComparison = TBaseHelper.compareTo(this.error_message, typedOther.error_message); if (lastComparison != 0) { return lastComparison; } } return 0; }
public String toString() { StringBuilder sb = new StringBuilder("SuperColumn("); boolean first = true; sb.append("name:"); if (this.name == null) { sb.append("null"); } else { TBaseHelper.toString(this.name, sb); } first = false; if (!first) sb.append(", "); sb.append("columns:"); if (this.columns == null) { sb.append("null"); } else { sb.append(this.columns); } first = false; sb.append(")"); return sb.toString(); }
public int compareTo(NotesMetadataResultSpec other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; NotesMetadataResultSpec typedOther = (NotesMetadataResultSpec) other; lastComparison = Boolean.valueOf(isSetIncludeTitle()).compareTo(typedOther.isSetIncludeTitle()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeTitle()) { lastComparison = TBaseHelper.compareTo(this.includeTitle, typedOther.includeTitle); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeContentLength()) .compareTo(typedOther.isSetIncludeContentLength()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeContentLength()) { lastComparison = TBaseHelper.compareTo(this.includeContentLength, typedOther.includeContentLength); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeCreated()).compareTo(typedOther.isSetIncludeCreated()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeCreated()) { lastComparison = TBaseHelper.compareTo(this.includeCreated, typedOther.includeCreated); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeUpdated()).compareTo(typedOther.isSetIncludeUpdated()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeUpdated()) { lastComparison = TBaseHelper.compareTo(this.includeUpdated, typedOther.includeUpdated); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeUpdateSequenceNum()) .compareTo(typedOther.isSetIncludeUpdateSequenceNum()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeUpdateSequenceNum()) { lastComparison = TBaseHelper.compareTo(this.includeUpdateSequenceNum, typedOther.includeUpdateSequenceNum); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeNotebookGuid()) .compareTo(typedOther.isSetIncludeNotebookGuid()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeNotebookGuid()) { lastComparison = TBaseHelper.compareTo(this.includeNotebookGuid, typedOther.includeNotebookGuid); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeTagGuids()).compareTo(typedOther.isSetIncludeTagGuids()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeTagGuids()) { lastComparison = TBaseHelper.compareTo(this.includeTagGuids, typedOther.includeTagGuids); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeAttributes()).compareTo(typedOther.isSetIncludeAttributes()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeAttributes()) { lastComparison = TBaseHelper.compareTo(this.includeAttributes, typedOther.includeAttributes); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeLargestResourceMime()) .compareTo(typedOther.isSetIncludeLargestResourceMime()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeLargestResourceMime()) { lastComparison = TBaseHelper.compareTo( this.includeLargestResourceMime, typedOther.includeLargestResourceMime); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetIncludeLargestResourceSize()) .compareTo(typedOther.isSetIncludeLargestResourceSize()); if (lastComparison != 0) { return lastComparison; } if (isSetIncludeLargestResourceSize()) { lastComparison = TBaseHelper.compareTo( this.includeLargestResourceSize, typedOther.includeLargestResourceSize); if (lastComparison != 0) { return lastComparison; } } return 0; }
public byte[] getName() { setName(TBaseHelper.rightSize(name)); return name.array(); }
public int compareTo(NoteAttributes other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; NoteAttributes typedOther = (NoteAttributes) other; lastComparison = Boolean.valueOf(isSetSubjectDate()).compareTo(typedOther.isSetSubjectDate()); if (lastComparison != 0) { return lastComparison; } if (isSetSubjectDate()) { lastComparison = TBaseHelper.compareTo(this.subjectDate, typedOther.subjectDate); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLatitude()).compareTo(typedOther.isSetLatitude()); if (lastComparison != 0) { return lastComparison; } if (isSetLatitude()) { lastComparison = TBaseHelper.compareTo(this.latitude, typedOther.latitude); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLongitude()).compareTo(typedOther.isSetLongitude()); if (lastComparison != 0) { return lastComparison; } if (isSetLongitude()) { lastComparison = TBaseHelper.compareTo(this.longitude, typedOther.longitude); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAltitude()).compareTo(typedOther.isSetAltitude()); if (lastComparison != 0) { return lastComparison; } if (isSetAltitude()) { lastComparison = TBaseHelper.compareTo(this.altitude, typedOther.altitude); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthor()).compareTo(typedOther.isSetAuthor()); if (lastComparison != 0) { return lastComparison; } if (isSetAuthor()) { lastComparison = TBaseHelper.compareTo(this.author, typedOther.author); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource()); if (lastComparison != 0) { return lastComparison; } if (isSetSource()) { lastComparison = TBaseHelper.compareTo(this.source, typedOther.source); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSourceURL()).compareTo(typedOther.isSetSourceURL()); if (lastComparison != 0) { return lastComparison; } if (isSetSourceURL()) { lastComparison = TBaseHelper.compareTo(this.sourceURL, typedOther.sourceURL); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSourceApplication()).compareTo(typedOther.isSetSourceApplication()); if (lastComparison != 0) { return lastComparison; } if (isSetSourceApplication()) { lastComparison = TBaseHelper.compareTo(this.sourceApplication, typedOther.sourceApplication); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetShareDate()).compareTo(typedOther.isSetShareDate()); if (lastComparison != 0) { return lastComparison; } if (isSetShareDate()) { lastComparison = TBaseHelper.compareTo(this.shareDate, typedOther.shareDate); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPlaceName()).compareTo(typedOther.isSetPlaceName()); if (lastComparison != 0) { return lastComparison; } if (isSetPlaceName()) { lastComparison = TBaseHelper.compareTo(this.placeName, typedOther.placeName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetContentClass()).compareTo(typedOther.isSetContentClass()); if (lastComparison != 0) { return lastComparison; } if (isSetContentClass()) { lastComparison = TBaseHelper.compareTo(this.contentClass, typedOther.contentClass); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetApplicationData()).compareTo(typedOther.isSetApplicationData()); if (lastComparison != 0) { return lastComparison; } if (isSetApplicationData()) { lastComparison = TBaseHelper.compareTo(this.applicationData, typedOther.applicationData); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetLastEditedBy()).compareTo(typedOther.isSetLastEditedBy()); if (lastComparison != 0) { return lastComparison; } if (isSetLastEditedBy()) { lastComparison = TBaseHelper.compareTo(this.lastEditedBy, typedOther.lastEditedBy); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetClassifications()).compareTo(typedOther.isSetClassifications()); if (lastComparison != 0) { return lastComparison; } if (isSetClassifications()) { lastComparison = TBaseHelper.compareTo(this.classifications, typedOther.classifications); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(DFSHealthReport other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; DFSHealthReport typedOther = (DFSHealthReport) other; lastComparison = Boolean.valueOf(isSetBytesTotal()).compareTo(isSetBytesTotal()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(bytesTotal, typedOther.bytesTotal); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetBytesUsed()).compareTo(isSetBytesUsed()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(bytesUsed, typedOther.bytesUsed); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetBytesRemaining()).compareTo(isSetBytesRemaining()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(bytesRemaining, typedOther.bytesRemaining); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetBytesNonDfs()).compareTo(isSetBytesNonDfs()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(bytesNonDfs, typedOther.bytesNonDfs); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetNumLiveDataNodes()).compareTo(isSetNumLiveDataNodes()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(numLiveDataNodes, typedOther.numLiveDataNodes); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetNumDeadDataNodes()).compareTo(isSetNumDeadDataNodes()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(numDeadDataNodes, typedOther.numDeadDataNodes); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetUpgradeStatus()).compareTo(isSetUpgradeStatus()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(upgradeStatus, typedOther.upgradeStatus); if (lastComparison != 0) { return lastComparison; } lastComparison = Boolean.valueOf(isSetHttpPort()).compareTo(isSetHttpPort()); if (lastComparison != 0) { return lastComparison; } lastComparison = TBaseHelper.compareTo(httpPort, typedOther.httpPort); if (lastComparison != 0) { return lastComparison; } return 0; }
public int compareTo(NoteList other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; NoteList typedOther = (NoteList) other; lastComparison = Boolean.valueOf(isSetStartIndex()).compareTo(typedOther.isSetStartIndex()); if (lastComparison != 0) { return lastComparison; } if (isSetStartIndex()) { lastComparison = TBaseHelper.compareTo(this.startIndex, typedOther.startIndex); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTotalNotes()).compareTo(typedOther.isSetTotalNotes()); if (lastComparison != 0) { return lastComparison; } if (isSetTotalNotes()) { lastComparison = TBaseHelper.compareTo(this.totalNotes, typedOther.totalNotes); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNotes()).compareTo(typedOther.isSetNotes()); if (lastComparison != 0) { return lastComparison; } if (isSetNotes()) { lastComparison = TBaseHelper.compareTo(this.notes, typedOther.notes); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetStoppedWords()).compareTo(typedOther.isSetStoppedWords()); if (lastComparison != 0) { return lastComparison; } if (isSetStoppedWords()) { lastComparison = TBaseHelper.compareTo(this.stoppedWords, typedOther.stoppedWords); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetSearchedWords()).compareTo(typedOther.isSetSearchedWords()); if (lastComparison != 0) { return lastComparison; } if (isSetSearchedWords()) { lastComparison = TBaseHelper.compareTo(this.searchedWords, typedOther.searchedWords); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUpdateCount()).compareTo(typedOther.isSetUpdateCount()); if (lastComparison != 0) { return lastComparison; } if (isSetUpdateCount()) { lastComparison = TBaseHelper.compareTo(this.updateCount, typedOther.updateCount); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(SavedSearch other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; SavedSearch typedOther = (SavedSearch) other; lastComparison = Boolean.valueOf(isSetGuid()).compareTo(typedOther.isSetGuid()); if (lastComparison != 0) { return lastComparison; } if (isSetGuid()) { lastComparison = TBaseHelper.compareTo(this.guid, typedOther.guid); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName()); if (lastComparison != 0) { return lastComparison; } if (isSetName()) { lastComparison = TBaseHelper.compareTo(this.name, typedOther.name); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetQuery()).compareTo(typedOther.isSetQuery()); if (lastComparison != 0) { return lastComparison; } if (isSetQuery()) { lastComparison = TBaseHelper.compareTo(this.query, typedOther.query); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetFormat()).compareTo(typedOther.isSetFormat()); if (lastComparison != 0) { return lastComparison; } if (isSetFormat()) { lastComparison = TBaseHelper.compareTo(this.format, typedOther.format); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUpdateSequenceNum()).compareTo(typedOther.isSetUpdateSequenceNum()); if (lastComparison != 0) { return lastComparison; } if (isSetUpdateSequenceNum()) { lastComparison = TBaseHelper.compareTo(this.updateSequenceNum, typedOther.updateSequenceNum); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetScope()).compareTo(typedOther.isSetScope()); if (lastComparison != 0) { return lastComparison; } if (isSetScope()) { lastComparison = TBaseHelper.compareTo(this.scope, typedOther.scope); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(itemReservation other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; itemReservation typedOther = (itemReservation) other; lastComparison = Boolean.valueOf(isSetUid()).compareTo(typedOther.isSetUid()); if (lastComparison != 0) { return lastComparison; } if (isSetUid()) { lastComparison = TBaseHelper.compareTo(uid, typedOther.uid); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetItemNumber()).compareTo(typedOther.isSetItemNumber()); if (lastComparison != 0) { return lastComparison; } if (isSetItemNumber()) { lastComparison = TBaseHelper.compareTo(itemNumber, typedOther.itemNumber); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetReserveQuantity()).compareTo(typedOther.isSetReserveQuantity()); if (lastComparison != 0) { return lastComparison; } if (isSetReserveQuantity()) { lastComparison = TBaseHelper.compareTo(reserveQuantity, typedOther.reserveQuantity); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOrderNumber()).compareTo(typedOther.isSetOrderNumber()); if (lastComparison != 0) { return lastComparison; } if (isSetOrderNumber()) { lastComparison = TBaseHelper.compareTo(orderNumber, typedOther.orderNumber); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetFromId()).compareTo(typedOther.isSetFromId()); if (lastComparison != 0) { return lastComparison; } if (isSetFromId()) { lastComparison = TBaseHelper.compareTo(fromId, typedOther.fromId); if (lastComparison != 0) { return lastComparison; } } return 0; }