public class SimpleMboSetIterator extends java.lang.Object implements MboSetIterator
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.
|
public SimpleMboSetIterator(MboSetRemote mboSet) throws java.rmi.RemoteException, MXException
mboSet
- This set to visit.java.rmi.RemoteException
MXException
public SimpleMboSetIterator(MboSetRemote mboSet, boolean discardable) throws java.rmi.RemoteException, MXException
mboSet
- This set to visit.discardable
- The value for the discardable flagjava.rmi.RemoteException
MXException
public 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.RemoteException
MXException
public 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.RemoteException
MXException
public boolean hasNext() throws MXException, java.rmi.RemoteException
MboSetIterator
hasNext
in interface MboSetIterator
MXException
java.rmi.RemoteException
public MboRemote next() throws java.rmi.RemoteException, MXException
MboSetIterator
next
in interface MboSetIterator
java.rmi.RemoteException
MXException
public void close() throws java.rmi.RemoteException, MXException
MboSetIterator
close
in interface MboSetIterator
java.rmi.RemoteException
MXException