All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.vaccess.VObjectEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.as400.vaccess.VObjectEvent
- public class VObjectEvent
- extends EventObject
The VObjectEvent class represents an event that
is fired when an AS/400 resource is changed,
created, or deleted.
- See Also:
- VObjectListener
-
VObjectEvent(Object, VObject)
- Constructs a VObjectEvent object.
-
VObjectEvent(Object, VObject, VNode)
- Constructs a VObjectEvent object.
-
getObject()
- Returns the affected AS/400 resource.
-
getParent()
- Returns the parent of the affected AS/400 resource.
-
isDuringLoad()
-
VObjectEvent
public VObjectEvent(Object source,
VObject object)
- Constructs a VObjectEvent object.
- Parameters:
- source - The event source.
- object - The affected AS/400 resource.
VObjectEvent
public VObjectEvent(Object source,
VObject object,
VNode parent)
- Constructs a VObjectEvent object.
- Parameters:
- source - The event source.
- object - The affected AS/400 resource.
- parent - The parent of the affected AS/400 resource.
This is only relevant for object created
events.
getObject
public VObject getObject()
- Returns the affected AS/400 resource.
- Returns:
- The AS/400 resource.
getParent
public VNode getParent()
- Returns the parent of the affected AS/400 resource.
This is only relevant for object created events.
- Returns:
- The parent, or null if none was set.
isDuringLoad
public boolean isDuringLoad()
All Packages Class Hierarchy This Package Previous Next Index