|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.examples.broker.events.EventImpl<T>
public class EventImpl<T>
A default implementation for Event
| Constructor Summary | |
|---|---|
EventImpl(long timestamp,
T object)
|
|
| Method Summary | |
|---|---|
Date |
getDate()
This is the same as getTimestamp, but returns a Date object instead |
T |
getObject()
Returns this event's actual object |
long |
getTimestamp()
Returns the timestamp from this event |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventImpl(long timestamp,
T object)
| Method Detail |
|---|
public long getTimestamp()
Event
getTimestamp in interface Event<T>public T getObject()
Event
getObject in interface Event<T>public Date getDate()
Event
getDate in interface Event<T>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||