org.yestech.event.event
Class BaseEvent<TYPE>

java.lang.Object
  extended by org.yestech.event.event.BaseEvent<TYPE>
All Implemented Interfaces:
Serializable, IEvent
Direct Known Subclasses:
BaseCamelEvent

public abstract class BaseEvent<TYPE>
extends Object
implements IEvent

See Also:
Serialized Form

Constructor Summary
protected BaseEvent()
           
protected BaseEvent(TYPE type)
           
 
Method Summary
 boolean equals(Object o)
           
 String getEventName()
          Returns a unique name for the event.
 TYPE getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseEvent

protected BaseEvent()

BaseEvent

protected BaseEvent(TYPE type)
Method Detail

getType

public TYPE getType()

getEventName

public String getEventName()
Description copied from interface: IEvent
Returns a unique name for the event.

Specified by:
getEventName in interface IEvent
Returns:
the name

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2010 YES Technology Association. All Rights Reserved.