org.apache.lenya.workflow.impl
Class EventImpl

java.lang.Object
  extended by org.apache.lenya.workflow.impl.EventImpl
All Implemented Interfaces:
Event

public class EventImpl
extends java.lang.Object
implements Event

Implementation of an event.


Constructor Summary
protected EventImpl(java.lang.String eventName)
          Creates a new instance of EventImpl
 
Method Summary
 boolean equals(java.lang.Object otherObject)
           
 java.lang.String getName()
          Get the name of this event.
 int hashCode()
           
 java.lang.String toString()
          Returns a string expression of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventImpl

protected EventImpl(java.lang.String eventName)
Creates a new instance of EventImpl

Parameters:
eventName - The event name.
Method Detail

toString

public java.lang.String toString()
Returns a string expression of this object.

Overrides:
toString in class java.lang.Object
Returns:
A string.

equals

public boolean equals(java.lang.Object otherObject)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getName

public java.lang.String getName()
Description copied from interface: Event
Get the name of this event.

Specified by:
getName in interface Event
Returns:
A string.
See Also:
Event.getName()


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.