beautypg.com

Getbytesitemdef, Getstringitemdef – HP NonStop G-Series User Manual

Page 134

background image

Throws

NoSuchFieldError.

It is an invalid name.

getBytesItemDef

Gets an occurrence of a named item of byte-array data type.

byte[] getBytesItemDef(String name, int itemNo, byte def[])

Usage The occurrence starts from 0. If it does not exist, the default value will be returned. name specifies the name of the
item. itemNo specifies the occurrence number of the item. def specifies the default value.

Returns A byte-array object.

Throws

NoSuchFieldError.

It is an invalid name.

getStringItemDef

Gets an occurrence of a named item of string data type.

String getStringItemDef(String name, int itemNo, String def)

Usage The occurrence starts from 0. If it does not exist, the default value will be returned. name specifies the name of the
item. itemNo specifies the occurrence number of the item. def specifies the default value.

Returns A string value.

Throws

NoSuchFieldError.

It is an invalid name.