|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.CursorType
public final class CursorType
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 String to 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 |
---|
public static final int _readOnly
Specifies the type as Read-Only.
public static final int _readAndWrite
Specifies the type as Read and Write.
public static final CursorType readOnly
Specifies the cursor type as Read-Only.
public static final CursorType readAndWrite
Specifies the cursor type as Read and Write.
Method Detail |
---|
public static final CursorType from_int(int i)
Converts a cursor type from an int
to a value.
i
- The int
value that you want
to convert from.
CursorType
object corresponding to the specified int
.public static final CursorType from_string(java.lang.String sVal)
Converts a cursor type from a String
to a value.
sVal
- The String
value that you want
to convert from.
CursorType
object corresponding to the specified String
.public java.lang.String toString()
Converts the cursor type to a String
.
toString
in class java.lang.Object
String
.public int value()
Returns the value for the cursor type.
int
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |