summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.java')
-rw-r--r--src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.java107
1 files changed, 96 insertions, 11 deletions
diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.java b/src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.java
index 646f9f5..d2edeab 100644
--- a/src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.java
+++ b/src/main/java/org/openslx/bwlp/thrift/iface/LectureSummary.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 LectureSummary implements org.apache.thrift.TBase<LectureSummary, LectureSummary._Fields>, java.io.Serializable, Cloneable, Comparable<LectureSummary> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LectureSummary");
@@ -188,7 +191,7 @@ public class LectureSummary implements org.apache.thrift.TBase<LectureSummary, L
private static final int __HASINTERNETACCESS_ISSET_ID = 6;
private static final int __ISIMAGEVERSIONUSABLE_ISSET_ID = 7;
private byte __isset_bitfield = 0;
- private _Fields optionals[] = {_Fields.USER_PERMISSIONS};
+ private static final _Fields optionals[] = {_Fields.USER_PERMISSIONS};
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -869,19 +872,19 @@ public class LectureSummary implements org.apache.thrift.TBase<LectureSummary, L
return getImageBaseId();
case IS_ENABLED:
- return Boolean.valueOf(isIsEnabled());
+ return isIsEnabled();
case START_TIME:
- return Long.valueOf(getStartTime());
+ return getStartTime();
case END_TIME:
- return Long.valueOf(getEndTime());
+ return getEndTime();
case LAST_USED:
- return Long.valueOf(getLastUsed());
+ return getLastUsed();
case USE_COUNT:
- return Integer.valueOf(getUseCount());
+ return getUseCount();
case OWNER_ID:
return getOwnerId();
@@ -890,10 +893,10 @@ public class LectureSummary implements org.apache.thrift.TBase<LectureSummary, L
return getUpdaterId();
case IS_EXAM:
- return Boolean.valueOf(isIsExam());
+ return isIsExam();
case HAS_INTERNET_ACCESS:
- return Boolean.valueOf(isHasInternetAccess());
+ return isHasInternetAccess();
case DEFAULT_PERMISSIONS:
return getDefaultPermissions();
@@ -902,7 +905,7 @@ public class LectureSummary implements org.apache.thrift.TBase<LectureSummary, L
return getUserPermissions();
case IS_IMAGE_VERSION_USABLE:
- return Boolean.valueOf(isIsImageVersionUsable());
+ return isIsImageVersionUsable();
}
throw new IllegalStateException();
@@ -1113,7 +1116,89 @@ public class LectureSummary implements org.apache.thrift.TBase<LectureSummary, L
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_lectureId = true && (isSetLectureId());
+ list.add(present_lectureId);
+ if (present_lectureId)
+ list.add(lectureId);
+
+ boolean present_lectureName = true && (isSetLectureName());
+ list.add(present_lectureName);
+ if (present_lectureName)
+ list.add(lectureName);
+
+ boolean present_imageVersionId = true && (isSetImageVersionId());
+ list.add(present_imageVersionId);
+ if (present_imageVersionId)
+ list.add(imageVersionId);
+
+ boolean present_imageBaseId = true && (isSetImageBaseId());
+ list.add(present_imageBaseId);
+ if (present_imageBaseId)
+ list.add(imageBaseId);
+
+ boolean present_isEnabled = true;
+ list.add(present_isEnabled);
+ if (present_isEnabled)
+ list.add(isEnabled);
+
+ boolean present_startTime = true;
+ list.add(present_startTime);
+ if (present_startTime)
+ list.add(startTime);
+
+ boolean present_endTime = true;
+ list.add(present_endTime);
+ if (present_endTime)
+ list.add(endTime);
+
+ boolean present_lastUsed = true;
+ list.add(present_lastUsed);
+ if (present_lastUsed)
+ list.add(lastUsed);
+
+ boolean present_useCount = true;
+ list.add(present_useCount);
+ if (present_useCount)
+ list.add(useCount);
+
+ boolean present_ownerId = true && (isSetOwnerId());
+ list.add(present_ownerId);
+ if (present_ownerId)
+ list.add(ownerId);
+
+ boolean present_updaterId = true && (isSetUpdaterId());
+ list.add(present_updaterId);
+ if (present_updaterId)
+ list.add(updaterId);
+
+ boolean present_isExam = true;
+ list.add(present_isExam);
+ if (present_isExam)
+ list.add(isExam);
+
+ boolean present_hasInternetAccess = true;
+ list.add(present_hasInternetAccess);
+ if (present_hasInternetAccess)
+ list.add(hasInternetAccess);
+
+ boolean present_defaultPermissions = true && (isSetDefaultPermissions());
+ list.add(present_defaultPermissions);
+ if (present_defaultPermissions)
+ list.add(defaultPermissions);
+
+ boolean present_userPermissions = true && (isSetUserPermissions());
+ list.add(present_userPermissions);
+ if (present_userPermissions)
+ list.add(userPermissions);
+
+ boolean present_isImageVersionUsable = true;
+ list.add(present_isImageVersionUsable);
+ if (present_isImageVersionUsable)
+ list.add(isImageVersionUsable);
+
+ return list.hashCode();
}
@Override