Joltinputevent -- single data element – HP NonStop G-Series User Manual
Page 205
![background image](/manuals/398286/205/background.png)
Double).
JoltInputEvent -- single data element
This constructor is used when the input is a single data element and it is represented in a native
data format.
JoltInputEvent(Object source, String fieldName, Object value)
source
Event source
fieldName
Name of the input field (Jolt name)
value
Value of the field in a native data type, such as Integer or Float
Usage This constructor is used when the input is a single data element and it is represented in a
native data format.
JoltInputEvent -- multiple occurrences; only one occurrence
set
This constructor is used when the input is a data element with multiple occurrences, but only
one occurrence is to be set, and it is represented in a native data format.
JoltInputEvent(Object source, String fieldName, Object value,
int pos)
source
Event source
fieldName
Name of the input field (Jolt name)
value
Value of the field in a native data type, such as Integer or Float
pos
The position of the data element
Usage This constructor is used when the input is a data element with multiple occurrences, but
only one occurrence is to be set, and it is represented in a native data format.