ILOG JRules User Guide > Creating Rule Projects > Concepts > Vocabulary > Phrase Templates > Default Verbalization

When you verbalize a BOM, a default verbalization is applied to all the members you select in the New BOM Entry or Verbalize BOM wizards. You may need to edit the default verbalization afterwards to make phrases more readable, or add new phrases.

Table 1 Default Verbalization
Business Element 
Verbalization by Default 
Class 
Example: 
Customer 
Class name in lowercase 
Example: 
customer 
Constructor 
None 
Getters (non write-only attributes and methods of type getXXX without arguments) 
Example
getAge 
{XXX} of {this} 
Example
{age} of {this} 
Boolean getters 
Example
isRich 
{this} is XXX 
Example
{this} is rich 
All other methods 
Example
displayMessage(String) 
Code-like verbalization, that is, the method signature, without subjects. 
Example
{this}.displayMessage({0}) 
Setters (non read-only attributes and void methods of type setXXX with one argument) 
Example: 
setDiscount 

 
set the XXX of {this} to {0} 
Example
set the discount of {this} to {discount} 
Boolean setters 
Example
loyaltyProgramMember 
make it {0} that {this} is XXX 
Example
make it {loyalty program member} that {this} is loyalty program member 
Static references (public static final attribute of a class with same type as this class) 
Example
Minivan 
Name of the static reference 
Example
Minivan 

Related Concepts

Phrase Templates
Vocabulary Errors and Warnings

Related Tasks

Defining a Vocabulary

Related Reference

Verbalize BOM Wizard

Related Samples and Tutorials

Tutorial: Defining a Vocabulary