Specification format, Specification contents, Meaning of the parameter – FUJITSU J Adapter Class Generator User Manual

Page 40

Advertising
background image

40 Chapter 4. Using the Generator Command

Option ReduceClass

Specification format

Option ReduceClass = { YES | NO }

Specification contents
Specify whether or not to reduce the number of adapter classes. When YES is

specified, the type of object reference except RETURNING becomes java-lang-Object,

and the parameter name is generated so as to include the original type information

instead. (Refer to "Specifying the -om option or "Option ReduceClass" parameter.")

Thus, method can be distinguished with the class browser in most cases. If method

cannot be distinguished with the class browser because the parameter name is too

long and because of other reasons, it can be distinguished using the method name

cross-reference list file.
If omitted, it is assumed that NO is specified.
Meaning of the parameter
• YES

Reduces the number of adapter classes.

• NO

The number of adapter classes is not reduced.

Option String

Specification format

Option String = { YES [

n

] | NO }

Specification contents
Specify whether or not to generate an adapter class in which the java. lang. String

type is mapped into the alphanumeric item (PIC X). (Refer to "Mapping the java.

lang. String into PIC X.")
If omitted, it is assumed that NO is specified.
Meaning of the parameter
• YES [

n

]

The java.lang.String type is mapped into the alphanumeric item.

n

specifies the parameter size (PIC X(

n

)) of the property method that corresponds to

the String type field. If omitted, it is assumed that 256 is specified.
• NO
The java.lang.String type is not mapped into the alphanumeric item.

Advertising