|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject atg.service.event.GenericEvent
public class GenericEvent
Field Summary | |
---|---|
static int[] |
ALL_TYPES
An array of all of the event type constants for this event. |
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.util.Date |
mDate
The time as a Date when the event was fired. |
protected long |
mTime
The time in milliseconds when the event was fired. |
protected java.sql.Timestamp |
mTimestamp
The time as a Timestamp when the event was fired |
protected int |
mType
The type of this event. |
static int |
TYPE_VANILLA
A generic event type. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GenericEvent(java.lang.Object pSource)
Constructs a generic event with the default, generic type. |
|
GenericEvent(java.lang.Object pSource,
int pEventType)
Constructs a generic event of the given type. |
Method Summary | |
---|---|
int[] |
getAllTypes()
|
java.lang.Object |
getSource()
|
long |
getTime()
|
java.util.Date |
getTimeAsDate()
|
java.sql.Timestamp |
getTimeAsTimestamp()
|
int |
getType()
|
Methods inherited from class java.util.EventObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final int TYPE_VANILLA
public static int[] ALL_TYPES
protected long mTime
protected int mType
protected java.util.Date mDate
protected java.sql.Timestamp mTimestamp
Constructor Detail |
---|
public GenericEvent(java.lang.Object pSource)
public GenericEvent(java.lang.Object pSource, int pEventType)
Method Detail |
---|
public long getTime()
public java.util.Date getTimeAsDate()
public java.sql.Timestamp getTimeAsTimestamp()
public int getType()
public int[] getAllTypes()
public java.lang.Object getSource()
getSource
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |