beautypg.com

Setbyte, Setbytes, Setdouble – HP NonStop G-Series User Manual

Page 118: Setfloat

background image

setByte

Sets the value of the specified item.

void setByte( String name, byte value );

Usage Sets the value of the item specified in the name parameter to the byte value specified in the value parameter. The
value is an 8-bit byte.

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.

setBytes

Sets the value of the specified item.

void setBytes( String name, byte[] value, int len );

Usage Sets the value of the item specified in the name parameter to the byte array value specified in the value parameter,
with the length set by the len parameter. The value is in 8-bit bytes.

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.

setDouble

Sets the double precision value of the specified item.

void setDouble( String name, double value );

Usage Sets the value of the item specified in the name parameter to the double precision (64-bit) value specified in the
value parameter.

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.

setFloat

Sets the floating point value of the specified item.

void setFloat( String name, float value );