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, 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, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods 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:remove
is not supported by default. -
getOperations
ATTENTION:getOperations
is not supported by default.- Specified by:
getOperations
in classAbstractEntityCollection
-
iterator
-
getCount
Gets count- Specified by:
getCount
in classAbstractEntityCollection
-
getNext
Gets next link.- Specified by:
getNext
in classAbstractEntityCollection
-
getDeltaLink
ATTENTION:getDeltaLink
is not supported by default.- Specified by:
getDeltaLink
in classAbstractEntityCollection
-
setNext
Sets next link.- Parameters:
next
- next link.
-
setCount
Sets count.- Parameters:
count
- count value.
-