beautypg.com

Setinputvalues, Setinputtextvalue -- value of field – HP NonStop G-Series User Manual

Page 219

background image

value

Value to be set.

Usage Sets the value of one occurrence of a field in the input buffer using the field's native
type.

Throws NoSuchFieldError, ClassCastException

setInputValues

The setInputValues() method sets all the occurrences of a field in the input buffer using the
field's native type.

void setInputValues(String fieldName, Object values[])

fieldName

The name of the field.

values

The value to set.

Usage Sets all the occurrences of a field in the input buffer using the field's native type. This
method operates using input parameters only.

Throws NoSuchFieldError, ClassCastException

setInputTextValue -- value of field

The setInputTextValue() method sets the value of a field in the input buffer as a String.

void setInputTextValue(String fieldName, String textValue)

fieldName

The name of the field.

textValue

The value to set.

Usage Sets the value of a field in the input buffer as a String.

Throws NoSuchFieldError, NumberFormatException

setInputTextValue -- value of one occurrence of field

The setInputTextValue() method sets the value of one occurrence of a field in the input buffer
as a String.