com.ibm.as400.access
Class UserSpaceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.ibm.as400.access.UserSpaceEvent
All Implemented Interfaces:
Serializable

public class UserSpaceEvent
extends EventObject

The UserSpaceEvent class represents a user space event.

See Also:
Serialized Form

Field Summary
static int US_CREATED
          Event ID indicating that a user space has been created.
static int US_DELETED
          Event ID indicating that a user space has been deleted.
static int US_READ
          Event ID indicating that a user space has been read.
static int US_WRITTEN
          Event ID indicating that a user space has been written.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
UserSpaceEvent(Object source, int id)
          Constructs a UserSpaceEvent 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

US_CREATED

public static final int US_CREATED
Event ID indicating that a user space has been created.

See Also:
Constant Field Values

US_DELETED

public static final int US_DELETED
Event ID indicating that a user space has been deleted.

See Also:
Constant Field Values

US_READ

public static final int US_READ
Event ID indicating that a user space has been read.

See Also:
Constant Field Values

US_WRITTEN

public static final int US_WRITTEN
Event ID indicating that a user space has been written.

See Also:
Constant Field Values
Constructor Detail

UserSpaceEvent

public UserSpaceEvent(Object source,
                      int id)
Constructs a UserSpaceEvent object. It uses the specified source and ID.

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.