public class SpecificMboIterator extends java.lang.Object implements MboSetIterator
Constructor and Description |
---|
SpecificMboIterator(MboRemote mbo,
java.lang.String relationship,
java.lang.Integer specificMbo)
Helper Constructor
|
SpecificMboIterator(MboRemote mbo,
java.lang.String relationship,
java.lang.Integer specificMbo,
java.lang.Boolean discardable)
Constructor
If specificMbo is negative, this iterator will return nothing.
|
public SpecificMboIterator(MboRemote mbo, java.lang.String relationship, java.lang.Integer specificMbo) throws java.rmi.RemoteException, MXException
mbo
- relationship
- specificMbo
- java.rmi.RemoteException
MXException
public SpecificMboIterator(MboRemote mbo, java.lang.String relationship, java.lang.Integer specificMbo, java.lang.Boolean discardable) throws java.rmi.RemoteException, MXException
mbo
- The parent Mborelationship
- The relationship from the parent MbospecificMbo
- The position of the Mbo to returndiscardable
- What to set the discardable flag tojava.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