Gf [field-name, Gm ["method-name [(parameter-type), I optional-file – FUJITSU J Adapter Class Generator User Manual

Page 33

Advertising
background image

Chapter 4. Using the Generator Command 33

generated. When specifying two or more constructors, they must be delimited by

comma (,) or a blank.
When two or more constructors of the same name exist, only the constructor that

matches the parameter type is generated by specifying the parameter-type. If a

parameter type is omitted, all of the constructors of the same name are generated.

When specifying a parameter type, enclose the parameter type with parenthesis

((and)), and enclose the entire option with double quotation (") to specify a

parameter. A parameter type can be specified with the data type name or with the

class name that is modified by the package name. When specifying an internal class

name as the parameter type, specify dollar ($) instead of using period (.) for the

internal class.
This option is valid when the -r option is specified.
This option is exclusive with the -om option.
-gf [

field-name

[,...]]

Specify the field name generated as an adapter class, for the last class-

name/interface-name specified before this option. If the field name is omitted, all of

the fields within the corresponding class/interface are generated. When specifying

more than one field, they must be delimited by comma (,) or a blank.
This option is valid when the -r option is specified.
This option has exclusive relation with the -om option.
-gm ["

method-name

[(

parameter-type

)] [,...]"]

Specify the method name generated as an adapter class, for the last

class-

name/interface-name specified before this option. If the method name is omitted,

all of the methods within the corresponding class/interface are generated. When

specifying more than one method, they must be delimited by comma (,) or a blank.
When more than one method of the same name exist, only the method that matches

the parameter type is generated by specifying the parameter-type. If a parameter

type is omitted, all of the methods of the same name are generated. When

specifying a parameter type, enclose the parameter type with parenthesis (( )), and

enclose the entire option with double quotation (") to specify a parameter. A

parameter type can be specified by data type name or by the class name that is

qualified by the package name. When specifying an internal class name as the

parameter type, specify dollar ($) instead of period (.) for the internal class name.
This option is valid when the -r option is specified.
This option has exclusive relation with the -om option.
-i

optional-file

Specify an optional file.
When this option is specified, other options in the command line are ignored.
-oi
Specifies that a method name cross-reference list file (listing adapter class methods

corresponding to Java class methods) be output. The method name cross-reference

list file is output with name "adapter-class-source-file-name.txt" for each Java class.

Advertising