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

      Fields 
      Modifier and Type Field and Description
      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

      Constructors 
      Constructor and Description
      UserSpaceEvent(java.lang.Object source, int id)
      Constructs a UserSpaceEvent object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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(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.
    • Method Detail

      • getID

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