oracle.toplink.ejb.cmp.wls11
Class CursoredEnumeratorRemoteImpl

oracle.toplink.ejb.cmp.wls11.CursoredEnumeratorRemoteImpl
All Implemented Interfaces:
CursoredEnumeratorRemote, java.util.Enumeration

public class CursoredEnumeratorRemoteImpl
implements CursoredEnumeratorRemote, java.util.Enumeration


Constructor Summary
CursoredEnumeratorRemoteImpl(oracle.toplink.queryframework.CursoredStream newCursoredStream)
           
 
Method Summary
TypeMethod
 void close()
          Close the underlying cursor.
 boolean hasMoreElements()
          Answer a boolean indicating if the underlying cursor has
 java.lang.Object nextElement()
          Return the next element from the cursor.
 java.util.Vector nextElements(int numberOfElements)
          Return the next numberOfElements elements in the underlying cursor.
 

Constructor Detail

CursoredEnumeratorRemoteImpl

public CursoredEnumeratorRemoteImpl(oracle.toplink.queryframework.CursoredStream newCursoredStream)
Method Detail

close

public void close()
Close the underlying cursor. This should be invoked when the user

is finished using the cursor.

Specified by:
close in interface CursoredEnumeratorRemote

hasMoreElements

public boolean hasMoreElements()
Answer a boolean indicating if the underlying cursor has

more elements to return.

Specified by:
hasMoreElements in interface CursoredEnumeratorRemote

nextElement

public java.lang.Object nextElement()
Return the next element from the cursor.
Specified by:
nextElement in interface CursoredEnumeratorRemote

nextElements

public java.util.Vector nextElements(int numberOfElements)
Return the next numberOfElements elements in the underlying cursor.
Specified by:
nextElements in interface CursoredEnumeratorRemote