|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.merlin.generator.event.EventParameter
This class represents the parameter that must be created to use the TopologyManipulator.
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
private byte |
eventType
The type of event |
private java.lang.Object |
obj
The object to manipulate |
private java.lang.Object |
objectValue
The value to assign to the obj |
private long |
time
The time when the event must be fired from now. |
| Constructor Summary | |
EventParameter(byte eventType,
java.lang.Object obj,
java.lang.Object objectValue,
long time)
Create an event with the given parameters. |
|
| Method Summary | |
byte |
getEventType()
Get the type of event for the object |
java.lang.Object |
getObj()
Get the object that will be manipulated |
java.lang.Object |
getObjectValue()
Get the value that will be assigned to the object |
long |
getTime()
Get the time for the event. |
void |
setEventType(byte eventType)
Set the type of event |
void |
setObj(java.lang.Object obj)
Set the object to manipulate |
void |
setObjectValue(java.lang.Object objectValue)
Set the object value |
void |
setTime(long time)
Set the time for the event |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private byte eventType
private java.lang.Object obj
private java.lang.Object objectValue
private long time
| Constructor Detail |
public EventParameter(byte eventType,
java.lang.Object obj,
java.lang.Object objectValue,
long time)
eventType - The type of the event.obj - The object to manipulate.objectValue - the value to apply.time - The time the event must occur.| Method Detail |
public byte getEventType()
public java.lang.Object getObj()
public java.lang.Object getObjectValue()
public long getTime()
public void setEventType(byte eventType)
eventType - The type of eventpublic void setObj(java.lang.Object obj)
obj - The object to manipulatepublic void setObjectValue(java.lang.Object objectValue)
objectValue - The object valuepublic void setTime(long time)
time - The time for the event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||