Pathway/iTS Web Client Programming Manual (H06.03+, J06.03+)

Table Of Contents
Java Import Package Reference
HP NonStop Pathway/iTS Web Client Programming Manual520270-003
6-46
Class ScobolType
Return Value
Returns the number of bytes required to represent the data item in the NonStop Kernel.
Method getHostValue
Purpose
Returns the NonStop Kernel representation of the data as a byte array.
Syntax
public abstract byte [] getHostValue()
Description
The NonStop Kernel defines the data representation (bit pattern) for representing
variables of a given type. The getHostValue() method returns the identical bit
pattern, independent of its internal storage representation. In other words, this method
implements a mapping from the way data is represented in the class to the way the
same data is represented in the NonStop Kernel.
Method setHostValue
Purpose
Updates the value of the object with the given byte array.
Syntax
public abstract void setHostValue (byte[] data)
Description
This method provides a mechanism by which the data value corresponding to the
NonStop Kernel data representation can be stored.
data.length() must be greater than or equal to ScobolType.getHostLength().
After calling setHostValue(data1), if you call data2=getHostValue(), then
data1 must be equal to data2.
Parameters
Method isEqualTo (double data)
Syntax
public boolean isEqualTo (double data)
data Corresponds to the NonStop Kernel byte representation of the data