Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-79
Class Pic9V
Class-Specific Methods
Literals
COMP
DISPLAY
SIGNED
SIGNLEADING
SIGNLEADINGSEPARATE
SIGNTRAILING
SIGNTRAILINGSEPARATE
UNSIGNED
Method Constructor (Signed or Unsigned)
Syntax
public Pic9V (int numIntegerDigits,
int numFractionDigits,
boolean computational,
boolean signed)
Description
This form is used to construct the following SCREEN COBOL types:
getValue() Returns the value in native Java type
isEqualTo() Equivalent to the SCREEN COBOL relation
condition IS [NOT] EQUAL [TO]
isGreaterThan() Equivalent to the SCREEN COBOL relation
condition IS [NOT] GREATER [THAN]
isLessThan() Equivalent to the SCREEN COBOL relation
condition IS [NOT] LESS [THAN]
isValueNumeric() Equivalent to the SCREEN COBOL class condition
IS [NOT] NUMERIC
setValue() Equivalent to the statement MOVE data-name-1
TO data-name-2
setZeroes() Equivalent to the SCREEN COBOL MOVE ZEROS
statement
SCREEN COBOL Type Java Type
PIC 9(m)V9(n) COMP new Pic9V (m, n, Pic9V.COMP,
Pic9V.UNSIGNED)