Map type

The Map interface and its concrete implementation class in Java™ is supported when Java types map to PL/I structures. The key-value pairs in Map map to a PL/I array. The keys map to Map-key and the values map to Map-value in the array element structure. The size of the Map data maps to a numeric item as the bound in the PL/I array.

Note: At run time, the Java Map interface is instantiated as a LinkedHashMap class for data conversion.
Suppose that your rule project has the following data structure in Java:
public Loan{
  private Map<String, String> aMap;
......
}
It is mapped to the following data structure in PL/I:
DCL 1 Loan,
      5 aMap-num, 
      5 aMap(10),
        10 Map-key   char(20),
        10 Map-value char(20);

In this example, aMap-num is used to represent the size of the aMap table.

If no type parameter is specified for the keys or the values for Map in the Java XOM, you must specify mapped types in the PL/I management mapping wizard.