Class EntityCollection
java.lang.Object
org.apache.olingo.commons.api.data.Annotatable
org.apache.olingo.commons.api.data.AbstractODataObject
org.apache.olingo.commons.api.data.AbstractEntityCollection
org.apache.olingo.commons.api.data.EntityCollection
- Direct Known Subclasses:
Delta
Data representation for a collection of single entities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCount()Gets number of entries - if it was required.Gets delta link if exists.Gets entities.getNext()Gets next link if exists.Gets operations.inthashCode()iterator()voidSets number of entries.voidsetDeltaLink(URI deltaLink) Sets delta link.voidSets next link.toString()Methods inherited from class org.apache.olingo.commons.api.data.AbstractODataObject
getBaseURI, getId, getTitle, setBaseURI, setCommonProperty, setIdMethods inherited from class org.apache.olingo.commons.api.data.Annotatable
getAnnotationsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EntityCollection
public EntityCollection()
-
-
Method Details
-
setCount
Sets number of entries.- Parameters:
count- number of entries
-
getCount
Gets number of entries - if it was required.- Specified by:
getCountin classAbstractEntityCollection- Returns:
- number of entries into the entity set.
-
getEntities
Gets entities.- Returns:
- entries.
-
setNext
Sets next link.- Parameters:
next- next link.
-
getNext
Gets next link if exists.- Specified by:
getNextin classAbstractEntityCollection- Returns:
- next link if exists; null otherwise.
-
getDeltaLink
Gets delta link if exists.- Specified by:
getDeltaLinkin classAbstractEntityCollection- Returns:
- delta link if exists; null otherwise.
-
setDeltaLink
Sets delta link.- Parameters:
deltaLink- delta link.
-
getOperations
Gets operations.- Specified by:
getOperationsin classAbstractEntityCollection- Returns:
- operations.
-
iterator
-
equals
- Overrides:
equalsin classAbstractODataObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractODataObject
-
toString
-