ILOG JRules User Guide > Creating Rule Projects > Tasks > Defining How Business Elements Map to the XOM > Mapping Business Elements to the XOM

You can map business elements to execution elements in the XOM by associating an IRL function body (IRL mapping) to the business element.

To map a business element to the XOM using IRL mapping:

  1. In the Outline view, click the business element that you want to map.
  2. In the BOM Editor, in the BOM to XOM Mapping section, define the mapping of the element. The IRL function body is based on the XOM.
  3. Save the BOM.
  4. The business element is now mapped to the XOM.

You can also map business elements to execution elements in the XOM by associating an extender class (extender mapping) to the business element.

To map a business element to the XOM using extender mapping:

  1. In the Outline view, click the class containing the business element that you want to map.
  2. In the BOM Editor, in the BOM to XOM Mapping section, specify the name of your extender class in the Extender name field.
  3. Define the extender class to provide the mappings for all members of the BOM class.
  4. Save the BOM.
  5. The business element is now mapped to the XOM.

Related Concepts

Business Object Model (BOM)
Execution Object Model (XOM)
BOM and XOM

Related Tasks

Mapping Classes
Mapping an Attribute to a Computed Value
Mapping an Attribute Assignment to a Function
Mapping a Method Call to an Expression
Mapping a Constructor Call to an Expression
Accessing Ruleset Variables and Parameters from IRL Mapping Code
Accessing Functions from IRL Mapping Code
Accessing Rule Instances from IRL Mapping Code
Implementing Synthetic Objects
BOM Entries

Related Reference

BOM Editor

Related Samples and Tutorials

Tutorial: Defining a Vocabulary