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

Constructor Index

 o VObjectEvent(Object, VObject)
Constructs a VObjectEvent object.
 o VObjectEvent(Object, VObject, VNode)
Constructs a VObjectEvent object.

Method Index

 o getObject()
Returns the affected AS/400 resource.
 o getParent()
Returns the parent of the affected AS/400 resource.
 o isDuringLoad()

Constructors

 o VObjectEvent
 public VObjectEvent(Object source,
                     VObject object)
Constructs a VObjectEvent object.

Parameters:
source - The event source.
object - The affected AS/400 resource.
 o 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.

Methods

 o getObject
 public VObject getObject()
Returns the affected AS/400 resource.

Returns:
The AS/400 resource.
 o 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.
 o isDuringLoad
 public boolean isDuringLoad()

All Packages  Class Hierarchy  This Package  Previous  Next  Index