Clear, Getapplicationcode, Getname – HP NonStop G-Series User Manual
Page 113: Getoccurrencecount, Getbytedef
![background image](/manuals/398286/113/background.png)
addShort
●
addString
●
delete
●
deleteItem
●
clear
Resets all input/output parameters or any information.
void clear();
Usage The clear() method handles removal of parameter settings or information set by the JoltRequestMessage class.
getApplicationCode
Gets the application code returned by the service.
int getApplicationCode();
Usage The getApplicationCode() method is equivalent to tpurcode or rcode in tpreturn().
Returns This method returns an integer value (32-bit).
getName
Gets the name of the current service.
String getName();
Returns This method returns a string value.
getOccurrenceCount
Gets the number of occurrences of a specified item.
int getOccurrenceCount( String name );
Usage This method retrieves the number of occurrences of an item specified by the name parameter. The item must be
one of the result or output parameters.
Returns This method returns an integer value (32-bit).
Throws
java.lang.NoSuchFieldError.
(field name) Attempt to get a field that is not defined for this service.
getByteDef
Gets the byte value of a specified parameter.
byte getByteDef( String name, byte defValue );
Usage This method gets the byte value of the name parameter or the specified defValue, if the name does not exist. The
item must be one of the result or output parameters.
Returns This method returns a byte value (8-bit).