Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)

com.lapetus_ltd.api.db.control
Enum TLptsRowEvent.EVENT_TYPE

java.lang.Object
  extended by java.lang.Enum<TLptsRowEvent.EVENT_TYPE>
      extended by com.lapetus_ltd.api.db.control.TLptsRowEvent.EVENT_TYPE
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TLptsRowEvent.EVENT_TYPE>
Enclosing class:
TLptsRowEvent

public static enum TLptsRowEvent.EVENT_TYPE
extends java.lang.Enum<TLptsRowEvent.EVENT_TYPE>


Enum Constant Summary
ERROR_OCCURRED
          An error occurred with this Statement SQL query.
EXECUTION_INTERRUPTED
          The execution of the statement (rowset) was interrupted by a call to TLptsStatement.interruptExecution().
MOVED_TO_NEXT_PRIMARY_RECORD
          The cursor has moved to the next row in a primary rowset (which has dynamics), and the information supplied here is relative to that row.
MOVED_TO_NEXT_RECORD
          The cursor has moved to the next row in a dynamic or full rowset, and the information supplied here is relative to that row.
PROCESSING_COMPLETE
          The processing for the relative rowset has completed.
 
Method Summary
static TLptsRowEvent.EVENT_TYPE valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TLptsRowEvent.EVENT_TYPE[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR_OCCURRED

public static final TLptsRowEvent.EVENT_TYPE ERROR_OCCURRED
An error occurred with this Statement SQL query. See the TLptsLogger for the error.


EXECUTION_INTERRUPTED

public static final TLptsRowEvent.EVENT_TYPE EXECUTION_INTERRUPTED
The execution of the statement (rowset) was interrupted by a call to TLptsStatement.interruptExecution().


MOVED_TO_NEXT_PRIMARY_RECORD

public static final TLptsRowEvent.EVENT_TYPE MOVED_TO_NEXT_PRIMARY_RECORD
The cursor has moved to the next row in a primary rowset (which has dynamics), and the information supplied here is relative to that row.


MOVED_TO_NEXT_RECORD

public static final TLptsRowEvent.EVENT_TYPE MOVED_TO_NEXT_RECORD
The cursor has moved to the next row in a dynamic or full rowset, and the information supplied here is relative to that row.


PROCESSING_COMPLETE

public static final TLptsRowEvent.EVENT_TYPE PROCESSING_COMPLETE
The processing for the relative rowset has completed. This is sent after the last row has been sent to the application.

Method Detail

valueOf

public static TLptsRowEvent.EVENT_TYPE valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static TLptsRowEvent.EVENT_TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TLptsRowEvent.EVENT_TYPE c : TLptsRowEvent.EVENT_TYPE.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared


Copyright 2009,2010, Lapetus Systems Ltd. (All rights reserved)