Joltinputevent methods – HP NonStop G-Series User Manual
Page 207

JoltInputEvent(Object source, String fieldName,
String textValue, int pos)
source
Event source
fieldName
Name of the input field (Jolt name)
textValue
Value of the field as a String
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 as a String. The JoltInputEvent object
performs the necessary data conversion.
JoltInputEvent -- multiple occurrences; array of Strings
This constructor is used when the input is a data element with multiple occurrences and it is
represented as an array of Strings.
JoltInputEvent(Object source, String fieldName,
String textValues[])
source
Event source
fieldName
Name of the input field (Jolt name)
textValues
Array of occurrences of the field as String
Usage This constructor is used when the input is a data element with multiple occurrences and
it is represented as an array of Strings. The JoltInputEvent object will perform the necessary
data conversion.
JoltInputEvent Methods
The following methods are used in conjunction with the JoltInputEvent class: