public class DefaultEvent extends Object implements Event, Serializable
| Modifier and Type | Field and Description |
|---|---|
private String |
cName |
protected EventContext |
eventContext |
private static long |
serialVersionUID
Eclipse Generated serial version id.
|
protected Object |
source |
protected long |
timeStamp |
protected int |
type |
| Constructor and Description |
|---|
DefaultEvent() |
| Modifier and Type | Method and Description |
|---|---|
String |
getcName() |
EventContext |
getEventContext() |
Object |
getSource() |
long |
getTimeStamp() |
int |
getType() |
void |
setcName(String cName) |
void |
setEventContext(EventContext context) |
void |
setSource(Object source) |
void |
setTimeStamp(long timeStamp) |
void |
setType(int type) |
String |
toString() |
private static final long serialVersionUID
protected EventContext eventContext
protected int type
protected Object source
protected long timeStamp
private String cName
public EventContext getEventContext()
getEventContext in interface Eventpublic long getTimeStamp()
getTimeStamp in interface Eventpublic void setEventContext(EventContext context)
setEventContext in interface Eventpublic void setTimeStamp(long timeStamp)
setTimeStamp in interface Eventpublic String getcName()
public void setcName(String cName)
Copyright © 2013. All Rights Reserved.