org.jpox.sco
Class SCOCollectionIterator
java.lang.Object
org.jpox.sco.SCOCollectionIterator
- All Implemented Interfaces:
- java.util.Iterator
- public class SCOCollectionIterator
- extends java.lang.Object
- implements java.util.Iterator
An iterator for a SCO Collection object. Takes in the delegate and the
backing store, and provides iteration through the objects.
Only accessible from package to provide protection
- Version:
- $Revision: 1.7 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOCollectionIterator
public SCOCollectionIterator(java.util.Collection sco,
StateManager sm,
java.util.Collection theDelegate,
CollectionStore backingStore,
boolean useDelegate)
- Constructor taking the delegate, backing store.
- Parameters:
sco
- The owener scosm
- State Manager of SCO Collection to iteratetheDelegate
- The delegate collectionbackingStore
- The backing store (connected to the DB)useDelegate
- Whether to use the delegate
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
Copyright © -2007 . All Rights Reserved.