ILOG JRules User Guide > Creating Rule Projects > Concepts > Vocabulary > Vocabulary Elements

A vocabulary is composed of a set of business terms, phrases, and constants. Whether a vocabulary element is a business term, a phrase, or a constant depends on the nature of its corresponding business element.

Vocabulary elements appear in the drop-down lists of business rule editors.

Business Term

A business term is a key concept handled in business rule artifacts. It is the verbalization of a class or nested class in the BOM.

For example, customer is a business term.

Business Term

Warning
Do not use the characters " and > in term labels, they will cause warnings and ambiguity problems when used in rules.

Navigation Phrase

A navigation phrase is a phrase that associates two business elements. It can be the verbalization of:

For example, {last name} of {this} is a navigation phrase for the attribute Customer.lastName.

images/vocnavphrase.png

A predicate phrase is a specific type of navigation phrase that verbalizes a nonvoid method that returns a boolean or java.lang.Boolean. A predicate phrase has an implicit subject. For example, {this} is loyalty program member is a predicate phrase for the attribute Customer.loyaltyProgramMember.

Predicate Phrase

Action Phrase

An action phrase applies an action to an object. It can be the verbalization of:

For example, in {this}, display the message {0} is an action phrase for the method Session.displayMessage(String).

Action Phrase

Constant

A constant is the verbalization of the public static final attribute of a class with same type as this class. For example, Minivan is a constant for the public static final attribute CarGroup.Minivan.

Constant Label

Related Concepts

Vocabulary
Phrase Templates

Related Tasks

Defining a Vocabulary

Related Reference

BOM Editor
Vocabulary View

Related Samples and Tutorials

Tutorial: Defining a Vocabulary