beautypg.com

Setfloatitem, Setintitem, Setshortitem – HP NonStop G-Series User Manual

Page 121: Setstringitem

background image

setFloatItem

Sets a named item at a specified index with a floating point value.

void setFloatItem( String name, int itemNo, float value);

Usage Sets the item specified in the name parameter at the index specified by itemNo with the floating point value
specified by the value parameter. If the item already exists, the value is overwritten.

Throws

java.lang.IllegalAccessError.

(field name) Attempt to set a value to an output parameter field.

java.lang.NoSuchFieldException.

(field name) Attempt to set a field which is not defined for this service.

setIntItem

Sets a named item at a specified index with a integer value.

void setIntItem( String name, int itemNo, int value);

Usage Sets the item specified in the name parameter at the index specified by itemNo with the integer value specified by
the value parameter. If the item already exists, the value is overwritten.

Throws

java.lang.IllegalAccessError.

(field name) Attempt to set a value to an output parameter field.

java.lang.NoSuchFieldException.

(field name) Attempt to set a field which is not defined for this service.

setShortItem

Sets a named item at a specified index with a short integer value.

void setShortItem( String name, int itemNo, short value );

Usage Sets the item specified in the name parameter at the index specified by itemNo with the short value specified by the
value parameter. If the item already exists, the value is overwritten.

Throws

java.lang.IllegalAccessError.

(field name) Attempt to set a value to an output parameter field.

java.lang.NoSuchFieldException.

(field name) Attempt to set a field which is not defined for this service.

setStringItem

Sets a named item at a specified index with a string value.

void setStringItem( String name, int itemNo, string value );