Assigning domain types in a PL/I include file import wizard

You assign domain types in the PL/I include file import wizard.

About this task

When you generate a PL/I XOM for your rule project, the Configure PL/I XOM Mapping page of the Create PL/I Execution Object Model wizard displays a list of default mappings between the PL/I types in the PL/I include file and Java™ types. You can change the default type to a domain by using the type converter.

Procedure

  1. On the Configure PL/I XOM Mapping page of the Create PL/I Execution Object Model wizard, right-click the item that you want to convert to a domain type, and then select Add Converter.
  2. On the Configure Converter Settings page, select Set Domain Support and then complete the following fields:
    Field Data entry
    From Shows the original Java type for the PL/I data item.
    Domain Class Choose the domain type that you want to use.
    Domain Class Info Select Constructor or Factory Method, depending on how you defined the domain in the Java project.
    GetValue Method Choose the method to be used to provide the domain value.
  3. Click OK.

    On the Configure PL/I XOM Mapping page, the Converter applied column displays Yes, indicating that the default mapping has been changed.

  4. Click Finish, and then click OK to generate the XOM.