ILOG JRules User Guide > Creating Rule Projects > Concepts > BOM and XOM > The BOM to XOM Mapping Mechanism > IRL Mapping

You define the IRL mapping the Body field of the BOM to XOM Mapping section of the BOM Editor.

This table assumes that an execution class name ExecutionClass has been given to the business class BusinessClass.

Table 3 IRL Mapping Possibilities
Member of Business Class BusinessClass 
Case 
Scope 
A function body in IRL where... 
Constructor BusinessClass(MyBizClassB, MyBizClassC) 
Call by new 
this cannot be used, returning an instance of ExecutionClass
Attribute MyBizClassA attr 
Assignment 
static 
value can be used and this cannot be used. 
instance 
value and this can both be used. 
Access 
static 
this cannot be used, returning an instance of MyClassA
instance 
this can be used, returning an instance of MyClassA
Method MyBizClassA myBizMethod(MyBizClassB, MyBizClassC) 
Invocation 
static 
this cannot be used. 
instance 
this can be used. 
Tester 
Use of operator InstanceOf, or cast, or classification in conditions 
this can be used, returning a boolean. 

Related Concepts

The BOM to XOM Mapping Mechanism
Execution Class
Extender Mapping

Related Tasks

Defining How Business Elements Map to the XOM

Related Reference

BOM Editor

Related Samples and Tutorials

Tutorial: Defining a Vocabulary
How to Write Rules Independently of the Execution Model