Task 3: Creating a BOM from the COBOL XOM
You create a BOM in Rule Designer based on your COBOL XOM.
Procedure
To create a BOM from the COBOL XOM:
- In the Set up a Decision Service part of Decision Service Map, click Create BOM.
- In the New BOM Entry wizard, in the Name field, accept the default name for the BOM entry: model.
- Make sure that the option Create a BOM entry from a XOM is selected and then click Next.
- On the New BOM Entry page, in the Choose a XOM entry field, click Browse XOM, select platform:/reszminiloan-xom, and then click OK.
- Under Select classes, select the xom package.
When you select the package, you automatically select all the classes it contains.
- Click Next.
On the BOM Verbalization page, select the All Methods check box.
This option makes sure that all the methods are verbalized, in addition to the elements you already selected.
- Click Finish.
In the Rule Explorer view, the bom folder contains a new BOM entry.
- In the Rule Explorer, double-click bom > model to open the BOM Editor.
- In the Business Object Model Entry section, expand the
xom package.
You see that the BOM has two classes to match the Borrower and Loan classes in the XOM.
- Double-click the Borrower class to view
the default verbalization: borrower.
The default verbalization for the Loan class is loan.
Note:The default verbalization is in American English. If you are working in a translated version of Rule Designer, you can verbalize the Borrower and Loan classes in the language of your locale, by using the Edit Term dialog.
To display the Edit Term dialog, in the Rule Explorer double-click the class or member you want to modify. In the Verbalization section of the BOM Editor, click Edit.