Before you start
This topic explains the tasks, objectives, and prerequisites of this tutorial.
This tutorial introduces you to the vocabulary that serves as the layer of natural language on top of the Business Object Model (BOM). The vocabulary needs to be well defined to enable policy managers to edit rules efficiently.
If you want to view the completed tutorial, see Viewing the completed tutorial.
A fictitious car rental company needs to implement a car rental policy that changes regularly, and to provide a reservation application that handles the following tasks:
- Allows car rental agents to fill out rental agreement forms. At this stage, rules are used to assess customer eligibility and to validate the rental agreement.
- Allows car rental agents to quote a price for a reservation. Rules compute the pricing, and select the best promotional discount plan.
- Defines assignments of cars to customers. Rules resolve car assignments when customers come to pick up a car, and upgrades if there is a shortage of cars.
Learning objectives
- Create a business object model (BOM) entry.
- Verbalize the business object model for rule editing.
- Extend the business object model.
Time required
This tutorial takes about 30 minutes to complete.
Directory structure
All the files for this tutorial are in the following directories: <InstallDir>/studio/tutorials/shared and <InstallDir>/studio/tutorials/vocabulary.
The directory <InstallDir>/studio/tutorials/vocabulary has the following structure:
- answer: Answer directory for the tutorial, with a complete example.
The directory <InstallDir>/studio/tutorials/shared contains the following project:
- carrental-xom: A Java™ project that contains an Execution Object Model (XOM). The XOM is the implementation of a business object model (BOM).
Audience
This tutorial is intended for developers and business analysts who want to set up a vocabulary for rule editing in Rule Designer. It assumes that you are familiar with the Eclipse environment.