com.ibm.as400.access
Class DataAreaEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.as400.access.DataAreaEvent
All Implemented Interfaces:
java.io.Serializable

public class DataAreaEvent
extends java.util.EventObject

The DataAreaEvent class represents a data area event.

See Also:
Serialized Form

Field Summary
static int DA_CLEARED
          Event ID indicating that a data area has been cleared.
static int DA_CREATED
          Event ID indicating that a data area has been created.
static int DA_DELETED
          Event ID indicating that a data area has been deleted.
static int DA_READ
          Event ID indicating that a data area has been read.
static int DA_WRITTEN
          Event ID indicating that a data area has been written.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DataAreaEvent(java.lang.Object source, int id)
          Constructs a DataAreaEvent object.
 
Method Summary
 int getID()
          Returns the identifier for this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DA_CLEARED

public static final int DA_CLEARED
Event ID indicating that a data area has been cleared.

DA_CREATED

public static final int DA_CREATED
Event ID indicating that a data area has been created.

DA_DELETED

public static final int DA_DELETED
Event ID indicating that a data area has been deleted.

DA_READ

public static final int DA_READ
Event ID indicating that a data area has been read.

DA_WRITTEN

public static final int DA_WRITTEN
Event ID indicating that a data area has been written.
Constructor Detail

DataAreaEvent

public DataAreaEvent(java.lang.Object source,
                     int id)
Constructs a DataAreaEvent object.
Parameters:
source - The object where the event originated.
id - The event identifier.
Method Detail

getID

public int getID()
Returns the identifier for this event.
Returns:
The identifier for this event.