Class CollectionEntity
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,Object> SequencedMap<String,Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionCollectionEntity(List<? extends DataEntity> entities, String key, int offset, int limit) -
Method Summary
Modifier and TypeMethodDescriptionextractInfo(List<String> returnedProperties) List<? extends DataEntity> intgetLimit()intintgetSize()getUnreadPerSpace(Map<String, Object> unreadPerSpace) voidsetLimit(int limit) voidsetOffset(int offset) voidsetSize(int size) voidsetUnreadPerSpace(Map<String, Object> unreadPerSpace) org.json.JSONObjecttoString()Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCodeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry
-
Constructor Details
-
CollectionEntity
-
-
Method Details
-
getSize
public int getSize() -
setSize
public void setSize(int size) -
getLimit
public int getLimit() -
setLimit
public void setLimit(int limit) -
getOffset
public int getOffset() -
setOffset
public void setOffset(int offset) -
getUnreadPerSpace
-
setUnreadPerSpace
-
getEntities
-
extractInfo
-
toString
- Overrides:
toStringin classAbstractMap<String,Object>
-
toJSONObject
public org.json.JSONObject toJSONObject()
-