Setbytesvaluebyindex, Getcount, Importrequest – HP NonStop G-Series User Manual
Page 303

defval
The default value if the data element does not exist.
Returns The octet value of the data element or the default value.
Usage Get the octet value of a data element associated with a name and an index. If an output
field has carray (octets) data type, the data remains as byte[]. The caller must use this method to
retrieve the data. If there is a type-cast error, the default value will be returned.
setBytesValueByIndex
setBytesValueByIndex(String name, int index, byte value[])
name
The name of the data element.
index
The index of the data element.
value
The byte value for the data element.
Usage Set the octet value of a data element associated with a name and an index. The data
element should be defined as carray in the TUXEDO application.
getCount
int getCount(String name)
name
The name of the data element.
Returns The count of occurrences.
Usage Get occurrence count of a data element.
importRequest
void importRequest()
Usage Import the values from the Microsoft ASP Request object into this TemplateData object.