planetj.database
Class RowEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--planetj.database.RowEvent
All Implemented Interfaces:
Serializable

public class RowEvent
extends EventObject

This is the event class to support the planetj.database.IRowEventListener interface.

See Also:
Serialized Form

Field Summary
static short POST_CREATE
           
static short POST_DELETE
           
static short POST_INSERT
           
static short POST_UPDATE
           
static short PRE_DELETE
           
static short PRE_INSERT
           
static short PRE_UPDATE
           
 
Constructor Summary
RowEvent(Object source, short pMode)
          RowEvent constructor comment.
 
Method Summary
 short getMode()
          Returns the mode.
 String toString()
          Returns a String representation of this EventObject.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PRE_INSERT

public static final short PRE_INSERT
See Also:
Constant Field Values

POST_INSERT

public static final short POST_INSERT
See Also:
Constant Field Values

PRE_UPDATE

public static final short PRE_UPDATE
See Also:
Constant Field Values

POST_UPDATE

public static final short POST_UPDATE
See Also:
Constant Field Values

PRE_DELETE

public static final short PRE_DELETE
See Also:
Constant Field Values

POST_DELETE

public static final short POST_DELETE
See Also:
Constant Field Values

POST_CREATE

public static final short POST_CREATE
See Also:
Constant Field Values
Constructor Detail

RowEvent

public RowEvent(Object source,
                short pMode)
RowEvent constructor comment.

Parameters:
source - java.lang.Object
pMode - short declared in the class of RowEvent. Ensure you pass one of those constants.
Method Detail

getMode

public short getMode()
Returns the mode. This will be one of the constants in RowEvent. Creation date: (7/11/2002 1:13:12 PM)

Returns:
short

toString

public String toString()
Returns a String representation of this EventObject.

Overrides:
toString in class EventObject
Returns:
A a String representation of this EventObject.