summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java
diff options
context:
space:
mode:
authorJonathan Bauer2016-01-07 13:55:40 +0100
committerJonathan Bauer2016-01-07 13:55:40 +0100
commit5ba446543184d5af8185da23b9a5fd28133d5513 (patch)
tree5f0dc18ddee5ee2370f6c0226e5337987d393428 /src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java
parent[thrift] added generated Location class (diff)
downloadmaster-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.gz
master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.tar.xz
master-sync-shared-5ba446543184d5af8185da23b9a5fd28133d5513.zip
added "onlyInLocations" flag for LectureWrite
update thrift files to 0.9.3
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java')
-rw-r--r--src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java82
1 files changed, 66 insertions, 16 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java b/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java
index bb78a52..abba44a 100644
--- a/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java
+++ b/src/main/java/org/openslx/bwlp/thrift/iface/ImageVersionDetails.java
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.9.1)
+ * Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -29,9 +29,12 @@ import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
+import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-04")
public class ImageVersionDetails implements org.apache.thrift.TBase<ImageVersionDetails, ImageVersionDetails._Fields>, java.io.Serializable, Cloneable, Comparable<ImageVersionDetails> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ImageVersionDetails");
@@ -563,25 +566,25 @@ public class ImageVersionDetails implements org.apache.thrift.TBase<ImageVersion
return getVersionId();
case CREATE_TIME:
- return Long.valueOf(getCreateTime());
+ return getCreateTime();
case EXPIRE_TIME:
- return Long.valueOf(getExpireTime());
+ return getExpireTime();
case FILE_SIZE:
- return Long.valueOf(getFileSize());
+ return getFileSize();
case UPLOADER_ID:
return getUploaderId();
case IS_RESTRICTED:
- return Boolean.valueOf(isIsRestricted());
+ return isIsRestricted();
case IS_VALID:
- return Boolean.valueOf(isIsValid());
+ return isIsValid();
case IS_PROCESSED:
- return Boolean.valueOf(isIsProcessed());
+ return isIsProcessed();
case SOFTWARE:
return getSoftware();
@@ -718,7 +721,54 @@ public class ImageVersionDetails implements org.apache.thrift.TBase<ImageVersion
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_versionId = true && (isSetVersionId());
+ list.add(present_versionId);
+ if (present_versionId)
+ list.add(versionId);
+
+ boolean present_createTime = true;
+ list.add(present_createTime);
+ if (present_createTime)
+ list.add(createTime);
+
+ boolean present_expireTime = true;
+ list.add(present_expireTime);
+ if (present_expireTime)
+ list.add(expireTime);
+
+ boolean present_fileSize = true;
+ list.add(present_fileSize);
+ if (present_fileSize)
+ list.add(fileSize);
+
+ boolean present_uploaderId = true && (isSetUploaderId());
+ list.add(present_uploaderId);
+ if (present_uploaderId)
+ list.add(uploaderId);
+
+ boolean present_isRestricted = true;
+ list.add(present_isRestricted);
+ if (present_isRestricted)
+ list.add(isRestricted);
+
+ boolean present_isValid = true;
+ list.add(present_isValid);
+ if (present_isValid)
+ list.add(isValid);
+
+ boolean present_isProcessed = true;
+ list.add(present_isProcessed);
+ if (present_isProcessed)
+ list.add(isProcessed);
+
+ boolean present_software = true && (isSetSoftware());
+ list.add(present_software);
+ if (present_software)
+ list.add(software);
+
+ return list.hashCode();
}
@Override
@@ -1000,11 +1050,11 @@ public class ImageVersionDetails implements org.apache.thrift.TBase<ImageVersion
{
org.apache.thrift.protocol.TList _list50 = iprot.readListBegin();
struct.software = new ArrayList<String>(_list50.size);
- for (int _i51 = 0; _i51 < _list50.size; ++_i51)
+ String _elem51;
+ for (int _i52 = 0; _i52 < _list50.size; ++_i52)
{
- String _elem52;
- _elem52 = iprot.readString();
- struct.software.add(_elem52);
+ _elem51 = iprot.readString();
+ struct.software.add(_elem51);
}
iprot.readListEnd();
}
@@ -1189,11 +1239,11 @@ public class ImageVersionDetails implements org.apache.thrift.TBase<ImageVersion
{
org.apache.thrift.protocol.TList _list55 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
struct.software = new ArrayList<String>(_list55.size);
- for (int _i56 = 0; _i56 < _list55.size; ++_i56)
+ String _elem56;
+ for (int _i57 = 0; _i57 < _list55.size; ++_i57)
{
- String _elem57;
- _elem57 = iprot.readString();
- struct.software.add(_elem57);
+ _elem56 = iprot.readString();
+ struct.software.add(_elem56);
}
}
struct.setSoftwareIsSet(true);