public class WagonEvent extends EventObject
Wagon
objects.Modifier and Type | Field and Description |
---|---|
protected long |
timestamp
The time when event occurred
|
source
Constructor and Description |
---|
WagonEvent(Wagon source) |
Modifier and Type | Method and Description |
---|---|
long |
getTimestamp()
Returns the timestamp which indicated the time when this event has occurred
|
Wagon |
getWagon()
Returns The Wagon object on which the WagonEvent initially occurred
|
void |
setTimestamp(long timestamp)
Sets the timestamp which indicated the time when this event has occurred
|
getSource, toString
protected long timestamp
public WagonEvent(Wagon source)
source
- The Wagon object on which the WagonEvent initially occurredpublic Wagon getWagon()
public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- The timestamp to set.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.