java.io.SerializableSessionEvent, TransferEventpublic class WagonEvent
extends java.util.EventObject
Wagon objects.| Modifier and Type | Field | Description |
|---|---|---|
protected long |
timestamp |
The time when event occurred
|
| Constructor | Description |
|---|---|
WagonEvent(Wagon source) |
| Modifier and Type | Method | 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
|
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.