| ILOG JRules User Guide > Creating Rule Projects > Getting Started > Tutorial: Defining a Vocabulary > Step 5: Refine the Vocabulary |
Step 5: Refine the Vocabulary |
PREVIOUS NEXT |
In the rule UnderAge, the phrases that need improvement are:
You can modify the default verbalization of these phrases.
The phrase the customer age of the rental agreement may be confusing because it seems to associate age and rental agreement. To make it less ambiguous, you can edit the term customer age, which is called the subject of this phrase.
To improve the verbalization of the subject:
getCustomerAge.
age of the customer. Click OK.
UnderAge is selected, and click Yes.
UnderAge.
Methods with arguments such as Session.displayMessage are verbalized by default without many modifications. You need to modify the verbalization of these methods.
To improve the verbalization of a method with arguments:
UnderAge in the Intellirule Editor.
the session . displayMessage ( "The rental agreement is rejected."); which appears as a link.
{0} and press ENTER.
UnderAge is selected, and click Yes.
UnderAge. As you can see, it is now updated with the new verbalization:
In the next Step of the tutorial, you will extend the BOM with an enumerated domain that appears as a drop-down list in business rules.
Next: Step 6: Create a Domain
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |