Class EntityIterator
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.EntityIterator
Data representation as an Iterator for a collection of single entities.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.olingo.commons.api.data.AbstractODataObject
equals, getBaseURI, getId, getTitle, hashCode, 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, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EntityIterator
public EntityIterator()
-
-
Method Details
-
hasNext
public abstract boolean hasNext() -
next
Which is an Entity for this type of iterator. -
remove
public void remove()ATTENTION:removeis not supported by default. -
getOperations
ATTENTION:getOperationsis not supported by default.- Specified by:
getOperationsin classAbstractEntityCollection
-
iterator
-
getCount
Gets count- Specified by:
getCountin classAbstractEntityCollection
-
getNext
Gets next link.- Specified by:
getNextin classAbstractEntityCollection
-
getDeltaLink
ATTENTION:getDeltaLinkis not supported by default.- Specified by:
getDeltaLinkin classAbstractEntityCollection
-
setNext
Sets next link.- Parameters:
next- next link.
-
setCount
Sets count.- Parameters:
count- count value.
-