com.crystaldecisions.sdk.occa.report.data
Class CursorType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.data.CursorType

public final class CursorType
extends java.lang.Object

This object defines the cursor type. The cursor is used to navigate the set of data fetched from the server. Use the com.crystaldecisions.sdk.occa.report.application method to create a cursor object.


Field Summary
static int _readAndWrite
          Specifies the type as Read and Write.
static int _readOnly
          Specifies the type as Read-Only.
static CursorType readAndWrite
          Specifies the cursor type as Read and Write.
static CursorType readOnly
          Specifies the cursor type as Read-Only.
 
Method Summary
static CursorType from_int(int i)
          Converts a cursor type from an int to a value.
static CursorType from_string(java.lang.String sVal)
          Converts a cursor type from a Stringto a value.
 java.lang.String toString()
          Converts the cursor type to a String.
 int value()
          Returns the value for the cursor type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_readOnly

public static final int _readOnly

Specifies the type as Read-Only.

See Also:
Constant Field Values

_readAndWrite

public static final int _readAndWrite

Specifies the type as Read and Write.

See Also:
Constant Field Values

readOnly

public static final CursorType readOnly

Specifies the cursor type as Read-Only.


readAndWrite

public static final CursorType readAndWrite

Specifies the cursor type as Read and Write.

Method Detail

from_int

public static final CursorType from_int(int i)

Converts a cursor type from an int to a value.

Parameters:
i - The int value that you want to convert from.
Returns:
The CursorType object corresponding to the specified int.

from_string

public static final CursorType from_string(java.lang.String sVal)

Converts a cursor type from a Stringto a value.

Parameters:
sVal - The String value that you want to convert from.
Returns:
The CursorType object corresponding to the specified String.

toString

public java.lang.String toString()

Converts the cursor type to a String.

Overrides:
toString in class java.lang.Object
Returns:
The cursor type as a String.

value

public int value()

Returns the value for the cursor type.

Returns:
The value of the cursor type as a int.