public class SimpleMboSetIterator extends java.lang.Object implements MboSetIterator
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
closed
Is this iterator closed?
|
protected MboSetRemote |
mboSet
The set we are returning Mbos from.
|
protected MboRemote |
nextMbo
This is the next Mbo that will be returned by the next method.
|
protected int |
pos
The current position in the set.
|
| Constructor and Description |
|---|
SimpleMboSetIterator(MboRemote mbo,
java.lang.String relationship)
Constructor - defaults discardable flag to null.
|
SimpleMboSetIterator(MboRemote mbo,
java.lang.String relationship,
boolean discardable)
Constructor
|
SimpleMboSetIterator(MboSetRemote mboSet)
Constructor - discardable flag set to null.
|
SimpleMboSetIterator(MboSetRemote mboSet,
boolean discardable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the Iterator which usually closes a MboSet.
|
boolean |
hasNext()
Does the iterator have a next record?
|
MboRemote |
next()
Returns the next Mbo.
|
protected MboSetRemote mboSet
protected int pos
protected boolean closed
protected MboRemote nextMbo
public SimpleMboSetIterator(MboSetRemote mboSet) throws java.rmi.RemoteException, MXException
mboSet - This set to visit.java.rmi.RemoteExceptionMXExceptionpublic SimpleMboSetIterator(MboSetRemote mboSet, boolean discardable) throws java.rmi.RemoteException, MXException
mboSet - This set to visit.discardable - The value for the discardable flagjava.rmi.RemoteExceptionMXExceptionpublic SimpleMboSetIterator(MboRemote mbo, java.lang.String relationship) throws java.rmi.RemoteException, MXException
mbo - The owning Mbo.relationship - The name of the related set to visit.java.rmi.RemoteExceptionMXExceptionpublic SimpleMboSetIterator(MboRemote mbo, java.lang.String relationship, boolean discardable) throws java.rmi.RemoteException, MXException
mbo - The owning Mbo.relationship - The name of the related set to visit.discardable - The value for the discardable flagjava.rmi.RemoteExceptionMXExceptionpublic boolean hasNext()
throws MXException,
java.rmi.RemoteException
MboSetIteratorhasNext in interface MboSetIteratorMXExceptionjava.rmi.RemoteExceptionpublic MboRemote next() throws java.rmi.RemoteException, MXException
MboSetIteratornext in interface MboSetIteratorjava.rmi.RemoteExceptionMXExceptionpublic void close()
throws java.rmi.RemoteException,
MXException
MboSetIteratorclose in interface MboSetIteratorjava.rmi.RemoteExceptionMXException