Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.toplink.ejb.cmp
Interface CursoredEnumerator

All Superinterfaces:
  java.util.Enumeration, java.io.Serializable

All Known Subinterfaces:
  CursoredEnumerator

public interface CursoredEnumerator
extends java.io.Serializable, java.util.Enumeration

PUBLIC

Provides a serializable object that conforms to an Enumeration while providing Cursor behaviour. This interface is returned from an EJB finder method that uses TopLink CursoredStream support.

Method Summary
`void` | `close()` Close the underlying cursor.
`java.util.Vector` | `nextElements(int numberOfElements)` Return the next numberOfElements elements in the underlying cursor.

Methods inherited from interface java.util.Enumeration
`hasMoreElements, nextElement`

Method Detail

### close

    public void close()

  Close the underlying cursor. This should be invoked when the user is finished using the cursor.

### nextElements

    public java.util.Vector nextElements(int numberOfElements)

  Return the next numberOfElements elements in the underlying cursor.

  Parameters:
    `numberOfElements` - the number of objects to consume from the result set
  Returns:
    The Vector of objects that were consumed from the result set

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 1998, 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD