diff options
Diffstat (limited to 'src/main/java/org/openslx/imagemaster/thrift/iface/OrganizationData.java')
-rw-r--r-- | src/main/java/org/openslx/imagemaster/thrift/iface/OrganizationData.java | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/src/main/java/org/openslx/imagemaster/thrift/iface/OrganizationData.java b/src/main/java/org/openslx/imagemaster/thrift/iface/OrganizationData.java index f7cea30..2177c37 100644 --- a/src/main/java/org/openslx/imagemaster/thrift/iface/OrganizationData.java +++ b/src/main/java/org/openslx/imagemaster/thrift/iface/OrganizationData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.0) + * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -15,6 +15,8 @@ import org.apache.thrift.protocol.TTupleProtocol; import org.apache.thrift.protocol.TProtocolException; import org.apache.thrift.EncodingUtils; import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; import java.util.List; import java.util.ArrayList; import java.util.Map; @@ -30,7 +32,7 @@ import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class OrganizationData implements org.apache.thrift.TBase<OrganizationData, OrganizationData._Fields>, java.io.Serializable, Cloneable { +public class OrganizationData implements org.apache.thrift.TBase<OrganizationData, OrganizationData._Fields>, java.io.Serializable, Cloneable, Comparable<OrganizationData> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("OrganizationData"); private static final org.apache.thrift.protocol.TField ORGANIZATION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("organizationId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -163,10 +165,7 @@ public class OrganizationData implements org.apache.thrift.TBase<OrganizationDat this.ecpUrl = other.ecpUrl; } if (other.isSetSuffixList()) { - List<String> __this__suffixList = new ArrayList<String>(); - for (String other_element : other.suffixList) { - __this__suffixList.add(other_element); - } + List<String> __this__suffixList = new ArrayList<String>(other.suffixList); this.suffixList = __this__suffixList; } } @@ -425,50 +424,50 @@ public class OrganizationData implements org.apache.thrift.TBase<OrganizationDat return 0; } + @Override public int compareTo(OrganizationData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - OrganizationData typedOther = (OrganizationData)other; - lastComparison = Boolean.valueOf(isSetOrganizationId()).compareTo(typedOther.isSetOrganizationId()); + lastComparison = Boolean.valueOf(isSetOrganizationId()).compareTo(other.isSetOrganizationId()); if (lastComparison != 0) { return lastComparison; } if (isSetOrganizationId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.organizationId, typedOther.organizationId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.organizationId, other.organizationId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(typedOther.isSetDisplayName()); + lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(other.isSetDisplayName()); if (lastComparison != 0) { return lastComparison; } if (isSetDisplayName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, typedOther.displayName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, other.displayName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEcpUrl()).compareTo(typedOther.isSetEcpUrl()); + lastComparison = Boolean.valueOf(isSetEcpUrl()).compareTo(other.isSetEcpUrl()); if (lastComparison != 0) { return lastComparison; } if (isSetEcpUrl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ecpUrl, typedOther.ecpUrl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ecpUrl, other.ecpUrl); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSuffixList()).compareTo(typedOther.isSetSuffixList()); + lastComparison = Boolean.valueOf(isSetSuffixList()).compareTo(other.isSetSuffixList()); if (lastComparison != 0) { return lastComparison; } if (isSetSuffixList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suffixList, typedOther.suffixList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suffixList, other.suffixList); if (lastComparison != 0) { return lastComparison; } @@ -598,7 +597,7 @@ public class OrganizationData implements org.apache.thrift.TBase<OrganizationDat struct.suffixList = new ArrayList<String>(_list0.size); for (int _i1 = 0; _i1 < _list0.size; ++_i1) { - String _elem2; // required + String _elem2; _elem2 = iprot.readString(); struct.suffixList.add(_elem2); } @@ -724,7 +723,7 @@ public class OrganizationData implements org.apache.thrift.TBase<OrganizationDat struct.suffixList = new ArrayList<String>(_list5.size); for (int _i6 = 0; _i6 < _list5.size; ++_i6) { - String _elem7; // required + String _elem7; _elem7 = iprot.readString(); struct.suffixList.add(_elem7); } |