com.ibm.as400.access
Class UserSpaceEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.as400.access.UserSpaceEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class UserSpaceEvent
- extends java.util.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(java.lang.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 |
US_CREATED
public static final int US_CREATED
- Event ID indicating that a user space has been created.
US_DELETED
public static final int US_DELETED
- Event ID indicating that a user space has been deleted.
US_READ
public static final int US_READ
- Event ID indicating that a user space has been read.
US_WRITTEN
public static final int US_WRITTEN
- Event ID indicating that a user space has been written.
UserSpaceEvent
public UserSpaceEvent(java.lang.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.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The identifier for this event.