diff options
Diffstat (limited to 'src/main/java/org/openslx/imagemaster/thrift/iface/UserInfo.java')
-rw-r--r-- | src/main/java/org/openslx/imagemaster/thrift/iface/UserInfo.java | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/main/java/org/openslx/imagemaster/thrift/iface/UserInfo.java b/src/main/java/org/openslx/imagemaster/thrift/iface/UserInfo.java index d5c3a69..2d9581b 100644 --- a/src/main/java/org/openslx/imagemaster/thrift/iface/UserInfo.java +++ b/src/main/java/org/openslx/imagemaster/thrift/iface/UserInfo.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 UserInfo implements org.apache.thrift.TBase<UserInfo, UserInfo._Fields>, java.io.Serializable, Cloneable { +public class UserInfo implements org.apache.thrift.TBase<UserInfo, UserInfo._Fields>, java.io.Serializable, Cloneable, Comparable<UserInfo> { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserInfo"); private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.STRING, (short)1); @@ -464,60 +466,60 @@ public class UserInfo implements org.apache.thrift.TBase<UserInfo, UserInfo._Fie return 0; } + @Override public int compareTo(UserInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - UserInfo typedOther = (UserInfo)other; - lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId()); + lastComparison = Boolean.valueOf(isSetUserId()).compareTo(other.isSetUserId()); if (lastComparison != 0) { return lastComparison; } if (isSetUserId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, other.userId); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetFirstName()).compareTo(typedOther.isSetFirstName()); + lastComparison = Boolean.valueOf(isSetFirstName()).compareTo(other.isSetFirstName()); if (lastComparison != 0) { return lastComparison; } if (isSetFirstName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.firstName, typedOther.firstName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.firstName, other.firstName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetLastName()).compareTo(typedOther.isSetLastName()); + lastComparison = Boolean.valueOf(isSetLastName()).compareTo(other.isSetLastName()); if (lastComparison != 0) { return lastComparison; } if (isSetLastName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastName, typedOther.lastName); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastName, other.lastName); if (lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEMail()).compareTo(typedOther.isSetEMail()); + lastComparison = Boolean.valueOf(isSetEMail()).compareTo(other.isSetEMail()); if (lastComparison != 0) { return lastComparison; } if (isSetEMail()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eMail, typedOther.eMail); + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eMail, other.eMail); if (lastComparison != 0) { return lastComparison; } } - 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; } |