ILOG JRules User Guide > Creating Rule Projects > Getting Started > Tutorial: Defining a Vocabulary > Viewing the Completed Tutorial

When completed, this tutorial contains a complete vocabulary for editing the car rental policy, and extensions to the Business Object Model (BOM).

To import the answer projects:

  1. In Rule Studio, on the File menu, click Import. Select ILOG Rule Studio > ILOG Rule Studio Samples and Tutorials, then select tutorials > vocabulary > answer.
  2. Two projects appear in the Rule Explorer view. The Java project carrental-xom defines an execution object model for rule execution. The rule project vocabulary-rules-answer contains a complete vocabulary and a set of business rules. This project references the project carrental-xom.
    Important
    The completed tutorial cannot be executed.

The vocabulary is viewed through the BOM editor.

To view the vocabulary:

  1. Make sure you are in the Rule perspective. On the Window menu, click Open Perspective > Other, then select Rule.
  2. In the Rule Explorer view, double-click the BOM entry model in the bom folder.
  3. In the BOM Editor, double-click classes and look at the domain in the attribute Branch.state, and the BOM to XOM mapping in the method RentalAgreement.getCustomerAge.
  4. On the Window menu, click Show View > Vocabulary.
  5. In the Vocabulary view, look at the verbalization of the elements of the business object model.

Next Start this tutorial: Step 1: Create a BOM Entry

Related Concepts

Overview: A Vocabulary for Rule Editing
Business Object Model (BOM)
Execution Object Model (XOM)
BOM and XOM
Vocabulary

Related Tasks

Working With Business Elements
Defining a Vocabulary
Defining How Business Elements Map to the XOM

Related Reference

BOM Editor

Related Samples and Tutorials

Tutorial: Creating Business Rules