ILOG JRules User Guide > Creating Rule Projects > Tasks > Working With BOM Entries > BOM Entries > Associating an Empty BOM Entry to a XOM

If you have defined an empty BOM entry and want to associate it with a XOM later on, you set the origin of this BOM entry as the path to the XOM.

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

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

To associate an empty BOM entry to a XOM:

  1. Right-click your rule project and click Properties.
  2. In the Properties dialog, click Business Object Model.
  3. In the Required BOM entries field, expand the BOM entry and double-click the item Origin:none.
  4. In the BOM Entry Origin dialog, type the path to your XOM in the Origin URL field, using the format xom:/myRuleProject/myXOM.
  5. Click OK.
  6. The empty BOM entry is now associated to a XOM.

Related Concepts

Business Object Model (BOM)
BOM and XOM

Related Tasks

Creating an Empty BOM Entry
Disabling BOM to XOM Mapping Checks
Creating a BOM Entry from a XOM
Ordering BOM Entries
Defining How Business Elements Map to the XOM

Related Reference

New BOM Entry Wizard

Related Samples and Tutorials

Tutorial: Defining a Vocabulary