Class NFEModelEvent
- java.lang.Object
-
- java.util.EventObject
-
- oracle.spatial.network.nfe.model.event.NFEModelEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NFEModelObjectEvent
,NFEModelObjectsEvent
public class NFEModelEvent extends java.util.EventObject
Root class of the Model Event hierarchy. It contains the information common to all the type of events of an NFEModel.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NFEModelEvent(java.lang.Object source)
Allocates a new model event object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getThreadId()
Gets the id of the thread where the event was firedlong
getTimestamp()
Gets the time when the event was firedvoid
setThreadId(long threadId)
Sets the id of the thread where the event was firedvoid
setTimestamp(long timestamp)
Sets the time when the event was fired
-
-
-
Method Detail
-
getThreadId
public long getThreadId()
Gets the id of the thread where the event was fired- Returns:
-
setThreadId
public void setThreadId(long threadId)
Sets the id of the thread where the event was fired- Parameters:
threadId
- a thread id
-
getTimestamp
public long getTimestamp()
Gets the time when the event was fired- Returns:
- a time stamp
-
setTimestamp
public void setTimestamp(long timestamp)
Sets the time when the event was fired- Parameters:
timestamp
- a time stamp
-
-