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 TypeMethodDescriptionboolean
getCount()
Gets number of entries - if it was required.Gets delta link if exists.Gets entities.getNext()
Gets next link if exists.Gets operations.int
hashCode()
iterator()
void
Sets number of entries.void
setDeltaLink
(URI deltaLink) Sets delta link.void
Sets next link.toString()
Methods inherited from class org.apache.olingo.commons.api.data.AbstractODataObject
getBaseURI, getId, getTitle, setBaseURI, setCommonProperty, setId
Methods inherited from class org.apache.olingo.commons.api.data.Annotatable
getAnnotations
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getCount
in 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:
getNext
in classAbstractEntityCollection
- Returns:
- next link if exists; null otherwise.
-
getDeltaLink
Gets delta link if exists.- Specified by:
getDeltaLink
in classAbstractEntityCollection
- Returns:
- delta link if exists; null otherwise.
-
setDeltaLink
Sets delta link.- Parameters:
deltaLink
- delta link.
-
getOperations
Gets operations.- Specified by:
getOperations
in classAbstractEntityCollection
- Returns:
- operations.
-
iterator
-
equals
- Overrides:
equals
in classAbstractODataObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractODataObject
-
toString
-