com.ibm.as400.access
Class DataAreaEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ibm.as400.access.DataAreaEvent
All Implemented Interfaces:
Serializable

public class DataAreaEvent
extends 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(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.

See Also:
Constant Field Values

DA_CREATED

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

See Also:
Constant Field Values

DA_DELETED

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

See Also:
Constant Field Values

DA_READ

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

See Also:
Constant Field Values

DA_WRITTEN

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

See Also:
Constant Field Values
Constructor Detail

DataAreaEvent

public DataAreaEvent(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.