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, 17 insertions, 16 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 2177c37..f7cea30 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.1) + * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -15,8 +15,6 @@ 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; @@ -32,7 +30,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, Comparable<OrganizationData> { +public class OrganizationData implements org.apache.thrift.TBase<OrganizationData, OrganizationData._Fields>, java.io.Serializable, Cloneable { 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); @@ -165,7 +163,10 @@ public class OrganizationData implements org.apache.thrift.TBase<OrganizationDat this.ecpUrl = other.ecpUrl; } if (other.isSetSuffixList()) { - List<String> __this__suffixList = new ArrayList<String>(other.suffixList); + List<String> __this__suffixList = new ArrayList<String>(); + for (String other_element : other.suffixList) { + __this__suffixList.add(other_element); + } this.suffixList = __this__suffixList; } } @@ -424,50 +425,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(other.isSetOrganizationId()); + lastComparison = Boolean.valueOf(isSetOrganizationId()).compareTo(typedOther.isSetOrganizationId()); if (lastComparison != 0) { return lastComparison; } if (isSetOrganizationId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.organizationId, other.organizationId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.organizationId, typedOther.organizationId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(other.isSetDisplayName()); + lastComparison = Boolean.valueOf(isSetDisplayName()).compareTo(typedOther.isSetDisplayName()); if (lastComparison != 0) { return lastComparison; } if (isSetDisplayName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, other.displayName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.displayName, typedOther.displayName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEcpUrl()).compareTo(other.isSetEcpUrl()); + lastComparison = Boolean.valueOf(isSetEcpUrl()).compareTo(typedOther.isSetEcpUrl()); if (lastComparison != 0) { return lastComparison; } if (isSetEcpUrl()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ecpUrl, other.ecpUrl); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ecpUrl, typedOther.ecpUrl); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetSuffixList()).compareTo(other.isSetSuffixList()); + lastComparison = Boolean.valueOf(isSetSuffixList()).compareTo(typedOther.isSetSuffixList()); if (lastComparison != 0) { return lastComparison; } if (isSetSuffixList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suffixList, other.suffixList); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.suffixList, typedOther.suffixList); if (lastComparison != 0) { return lastComparison; } @@ -597,7 +598,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; + String _elem2; // required _elem2 = iprot.readString(); struct.suffixList.add(_elem2); } @@ -723,7 +724,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; + String _elem7; // required _elem7 = iprot.readString(); struct.suffixList.add(_elem7); } |