Supported Java data types for mapping to COBOL data structures

To share rules with COBOL applications, the BOM must use only Java™ types that map to COBOL structures.

To execute business rules in a COBOL environment, the structure of the BOM must be identical to the structure of the generated COBOL copybook. Where Java data structures do not map to COBOL, you must either amend the BOM, or amend the XOM and then update the BOM. You cannot generate a copybook from a BOM that contains unsupported data structures.

Note: The BOM must have a Java XOM. A Dynamic XOM is not supported. The BOM and the Java XOM must satisfy the following requirements:
  1. The object model of the BOM must have an aggregated structure.
  2. The Java XOM class must do the following:
    • Have a no-argument constructor
    • Follow the JavaBeans naming convention to access its attributes

The following class-related structures are not supported for COBOL copybook generation. If the BOM contains these data structures, you must redesign your BOM:

You can have the following Java types in the BOM: