Associating an empty BOM entry with a XOM

You associate an empty BOM entry with a XOM by setting a reference from the BOM entry to the XOM.

About this task

If you define an empty BOM entry and then want to associate it with a XOM, you set the origin of the BOM entry as the path to the XOM.

The BOM origin is a reference from a BOM entry to a XOM. Rule Designer uses this reference to update the BOM entry to:

  • Import some additional classes from the XOM into the BOM entry

  • Update some BOM classes from a modified version of the XOM

The BOM origin can refer to a JAR, a Java™ project, an XSD, a class folder, or a rule project. If it refers to a rule project, it refers to the XOM of the current rule project.

Procedure

To associate an empty BOM entry with a XOM:

  1. Right-click your rule project and then click Properties.
  2. In the Properties dialog, click Business Object Model.
  3. In the Required BOM entries field, expand the BOM entry and then double-click the item Origin:none.
  4. In the BOM Entry Origin dialog, in the Origin URL field, type the path to the XOM.

    Use this format: xom:/myRuleProject/myXOM

  5. Click OK.

    The empty BOM entry is now associated with a XOM.