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-19
Class ScreenField
Parameters
Method setMUSTBE
Syntax
public void setMUSTBE (String[] valueMustBe)
Description
Equivalent to the MUST [BE] field-characteristic clause. For example, the SCREEN
COBOL data description entry
screen-field-name
[AT]
line-spec
,
column-spec
PIC [IS]
character-string
MUST BE 10 THRU 20, HELLO
has this Java equivalent:
String[] valueMustBe = {"10","20","HELLO","HELLO"};
screenfieldObject.setMUSTBE (valueMustBe);
Parameters
Method setSHADOWED
Syntax
public void setSHADOWED (ScobolType shadowByte,
boolean isReturnBitAlwaysSet)
Description
Equivalent to the SHADOWED [BY] field-characteristic clause, as in:
screen-field-name
[AT]
line-spec
,
column-spec
PIC [IS]
character-string
SHADOWED [BY]
data-name-1
lengthArray Corresponds to the
literal-n
values in the LENGTH
[MUST BE] clause. The array must be of the form
{minLen1,maxLen1,minLen2, maxLen2,...}. Each maxLen
x
must be >= minLen
x
. If a value is to be discrete rather than a
range, then set minLen
x
and maxLen
x
to the same discrete
value.
valueMustBe Corresponds to the
literal-n
values in the MUST [BE]
clause. The array must be of the form
{minVal1,maxVal1,minVal2, maxVal2,...}. Each maxVal
x
must
be >= minVal
x
. If a value is to be discrete rather than a range,
then set minVal
x
and maxVal
x
to the same discrete value.