org.ow2.wildcat.event
Class WEvent

java.lang.Object
  extended by org.ow2.wildcat.event.WEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, WEventInterface
Direct Known Subclasses:
WAttributeEvent, WHierarchyEvent

public class WEvent
extends java.lang.Object
implements WEventInterface

Event without arguments.

See Also:
Serialized Form

Field Summary
protected  Path source
          The source of the Event
 
Constructor Summary
WEvent(Path source)
          Constructors
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getSource()
          Getter.
 void setSource(Path path)
          Setter.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

protected Path source
The source of the Event

Constructor Detail

WEvent

public WEvent(Path source)
Constructors

Parameters:
source - origin of the event
Method Detail

getSource

public java.lang.String getSource()
Description copied from interface: WEventInterface
Getter.

Specified by:
getSource in interface WEventInterface
Returns:
the location at which the event has been fired

setSource

public void setSource(Path path)
Setter.

Parameters:
path -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException


Copyright © 2008 OW2 Consortium. All Rights Reserved.