beautypg.com

Joltinputevent -- single element; string – HP NonStop G-Series User Manual

Page 206

background image

JoltInputEvent -- data element with multiple occurrences

This constructor is used when the input is a data element with multiple occurrences and it is
represented in a native data format.

JoltInputEvent(Object source, String fieldName,
Object values[])

source

Event source

fieldName

Name of the input field (Jolt name)

values

Array of occurrences of the field in a native data type, such as Integer or Float

Usage This constructor is used when the input is a data element with multiple occurrences and
it is represented in a native data format.

JoltInputEvent -- single element; String

This constructor is used when the input is a single data element and it is represented as a String.

JoltInputEvent(Object source, String fieldName,
String textValue)

source

Event source

fieldName

Name of the input field (Jolt name)

textValue

Value of the field as a String

Usage This constructor is used when the input is a single data element and it is represented as a
String. The JoltInputEvent object will perform the necessary data conversion.

JoltInputEvent -- multiple occurrences; only one occurrence
set; String

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.