de.bea.domingo.proxy
Class BaseCollectionProxy.ViewIterator

java.lang.Object
  extended by de.bea.domingo.proxy.BaseCollectionProxy.ViewIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
BaseCollectionProxy

public final class BaseCollectionProxy.ViewIterator
extends java.lang.Object
implements java.util.Iterator

Iterator for all documents in a view.

A Mapper instance is used to map Notes document into a business object. If no Mapper is provided, a simple default mapper is used that maps the Notes document into a simple data structure that implements the DDocument interface.

Author:
Kurt Riede
See Also:
DDocument

Constructor Summary
protected BaseCollectionProxy.ViewIterator(DView theView)
          Constructor.
 
Method Summary
 boolean hasNext()
          
 java.lang.Object next()
          
 void remove()
          The remove operation is not supported by this Iterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCollectionProxy.ViewIterator

protected BaseCollectionProxy.ViewIterator(DView theView)
Constructor.

Parameters:
theView - the View
Method Detail

hasNext

public boolean hasNext()

Specified by:
hasNext in interface java.util.Iterator
See Also:
Iterator.hasNext()

next

public java.lang.Object next()

Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()

remove

public void remove()
The remove operation is not supported by this Iterator. An UnsupportedOperationException is thrown if this method is called.

Specified by:
remove in interface java.util.Iterator
See Also:
Iterator.remove()


Domingo Java-API