Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.ejb.cmp.wls11
Class CursoredEnumeratorRemoteImpl

java.lang.Object
  extended byoracle.toplink.ejb.cmp.wls11.CursoredEnumeratorRemoteImpl

All Implemented Interfaces:
CursoredEnumeratorRemote, java.util.Enumeration, weblogic.rmi.Remote, java.rmi.Remote

public class CursoredEnumeratorRemoteImpl
extends java.lang.Object
implements CursoredEnumeratorRemote, java.util.Enumeration, weblogic.rmi.Remote

Constructor Summary
CursoredEnumeratorRemoteImpl(CursoredStream newCursoredStream)

Method Summary
void close()
Close the underlying cursor.
boolean hasMoreElements()
Answer a boolean indicating if the underlying cursor has more elements to return.
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.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CursoredEnumeratorRemoteImpl

public CursoredEnumeratorRemoteImpl(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

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.