Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.8 Numbering Names

The J adapter class generator generates adapter class names from the names used for Java classes or interfaces. However, some names cannot be used in both Java and COBOL because different syntax rules are used. For instance, Java permits multiple methods with the same name to be defined within the same class if they have different parameters, while COBOL does not permit such definition. In this case, methods with the same name in Java must be generated so that they correspond to different names in COBOL. The J adapter class generator generates a unique name from each corresponding Java name by adding a hyphen "-" followed by a number.

This section explains the rules of assigning numbers to names used for adapter classes.