Class 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 classAbstractEntityCollectionObject
-
iterator
-
getCount
Gets count- Specified by:
getCountin classAbstractEntityCollectionObject
-
getNext
Gets next link.- Specified by:
getNextin classAbstractEntityCollectionObject- Parameters:
next- next link.
-
getDeltaLink
ATTENTION:getDeltaLinkis not supported by default.- Specified by:
getDeltaLinkin classAbstractEntityCollectionObject
-
setNext
Sets next link.- Parameters:
next- next link.
-
setCount
Sets count.- Parameters:
count- count value.
-