com.ibm.as400.resource

Class ResourceEvent

  • All Implemented Interfaces:
    Serializable

    Deprecated. 
    Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

    public class ResourceEvent
    extends EventObject
    The ResourceEvent class represents a resource event.
    See Also:
    Serialized Form
    • Field Detail

      • ATTRIBUTE_CHANGES_CANCELED

        public static final int ATTRIBUTE_CHANGES_CANCELED
        Deprecated. 
        Event ID indicating that attribute changes are canceled.
        See Also:
        Constant Field Values
      • ATTRIBUTE_CHANGES_COMMITTED

        public static final int ATTRIBUTE_CHANGES_COMMITTED
        Deprecated. 
        Event ID indicating that attribute changes are committed.
        See Also:
        Constant Field Values
      • ATTRIBUTE_VALUES_REFRESHED

        public static final int ATTRIBUTE_VALUES_REFRESHED
        Deprecated. 
        Event ID indicating that attribute values are refreshed.
        See Also:
        Constant Field Values
      • ATTRIBUTE_VALUE_CHANGED

        public static final int ATTRIBUTE_VALUE_CHANGED
        Deprecated. 
        Event ID indicating that an attribute is changed.
        See Also:
        Constant Field Values
      • RESOURCE_CREATED

        public static final int RESOURCE_CREATED
        Deprecated. 
        Event ID indicating that a resource is created.
        See Also:
        Constant Field Values
      • RESOURCE_DELETED

        public static final int RESOURCE_DELETED
        Deprecated. 
        Event ID indicating that a resource is deleted.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ResourceEvent

        public ResourceEvent(Object source,
                     int eventID)
        Deprecated. 
        Constructs a ResourceEvent object.
        Parameters:
        source - The source.
        eventID - The event ID.
      • ResourceEvent

        public ResourceEvent(Object source,
                     int eventID,
                     Object attributeID,
                     Object value)
        Deprecated. 
        Constructs a ResourceEvent object.
        Parameters:
        source - The source.
        eventID - The event ID.
        attributeID - Identifies the associated attribute, or null if none.
        value - The attribute value.
    • Method Detail

      • getAttributeID

        public Object getAttributeID()
        Deprecated. 
        Returns the associated attribute ID, or null if none.
        Returns:
        The associated attribute ID, or null if none.
      • getID

        public int getID()
        Deprecated. 
        Returns the event ID.
        Returns:
        The event ID.
      • getValue

        public Object getValue()
        Deprecated. 
        Returns the associated attribute value, or null if none.
        Returns:
        The associated attribute value, or null if none.