org.ow2.wildcat.event
Class WHierarchyEvent
java.lang.Object
org.ow2.wildcat.event.WEvent
org.ow2.wildcat.event.WHierarchyEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, WEventInterface
public class WHierarchyEvent
- extends WEvent
- implements WEventInterface
WHierarchyEvent holds events related to the context hierarchy changes.
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.String |
target
The object of the operation (ie: a resource or an attribute name) |
protected WHierarchyEvent.Type |
type
The type of operation |
| Fields inherited from class org.ow2.wildcat.event.WEvent |
source |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected WHierarchyEvent.Type type
- The type of operation
target
protected java.lang.String target
- The object of the operation (ie: a resource or an attribute name)
WHierarchyEvent
public WHierarchyEvent(Path source,
WHierarchyEvent.Type type,
java.lang.String target)
- Constructor.
- Parameters:
source - location at which the event was firedtype - the type of change in the hierarchytarget - the object of the change
getType
public WHierarchyEvent.Type getType()
- Getter.
- Returns:
- the type of change in the hierarchy
getTarget
public java.lang.String getTarget()
- Getter.
- Returns:
- the subject of the event
toString
public java.lang.String toString()
- Overrides:
toString in class WEvent
Copyright © 2008 OW2 Consortium. All Rights Reserved.