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.queryframework
Class CursorPolicy

`java.lang.Object
ContainerPolicy
oracle.toplink.queryframework.CursorPolicy`

Direct Known Subclasses:
  CursoredStreamPolicy, ScrollableCursorPolicy

public abstract class CursorPolicy
extends ContainerPolicy

Purpose: Abstract class for all Cursor-related policy objects

See Also:
  Serialized Form

Method Summary
`int` | `getPageSize()` Return the number of elements to be read into a cursored stream when more elements are needed from the database.
`boolean` | `isCursoredStreamPolicy()`
`boolean` | `isCursorPolicy()`
`boolean` | `isScrollableCursorPolicy()`
`void` | `setPageSize(int pageSize)` Set the number of elements to be read into a cursored stream when more elements are needed from the database.

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

Method Detail

### getPageSize

    public int getPageSize()

  Return the number of elements to be read into a cursored stream when more elements are needed from the database.

### isCursoredStreamPolicy

    public boolean isCursoredStreamPolicy()

### isCursorPolicy

    public boolean isCursorPolicy()

### isScrollableCursorPolicy

    public boolean isScrollableCursorPolicy()

### setPageSize

    public void setPageSize(int pageSize)

  Set the number of elements to be read into a cursored stream when more elements are needed from the database.

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