Supported Java data types for mapping to PL/I data models
To share rules with PL/I applications, the BOM must use only Java™ types that map to PL/I structures.
To execute business rules in a PL/I environment, the structure of the BOM must be identical to the structure of the generated PL/I include file. Where Java data structures do not map to PL/I, you must either amend the BOM, or amend the XOM and then update the BOM. You cannot generate an include file from a BOM that contains unsupported data structures.
- The object model of the BOM must have an aggregated structure.
- 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 PL/I include file generation. If the BOM contains these data structures, you must redesign your BOM:
Class inheritance
Class reference loop
Nested classes
You can have the following Java types in the BOM:
Java primitive types (for example, int, float, and boolean)
BigInteger and BigDecimal
BOM class
Date
String
Enum
Char
BitSet
Map interface and its concrete implementation classes
Collection interface and its concrete implementation classes