Vocabulary component

The vocabulary component comprises a voc.xsd file, which defines the abstract syntax, and a voc.properties file, which defines the concrete syntax.

Deprecated feature:

Deprecation icon Support for custom business rule languages is deprecated in V8.8.1. This feature will be removed in a future release of the product. See Deprecated features for migration details.

The voc.xsd file defines generic types for using vocabulary elements in a business rule language.

You can use the following generic types whenever you need to reference a vocabulary element in your language:
  • T-voc-concept: a reference to a vocabulary term (concept).

    It has two subnodes:
    • fullyQualifiedName: the fully-qualified name of the concept

    • cardinality: the cardinality, that is, whether this element represents a single value or a list of values

  • T-voc-sentence: a reference to a vocabulary phrase (sentence).

    It has one subnode:
    • fullyQualifiedName: the fully-qualified name of the sentence

  • T-voc-variable: a reference to a variable.

    It has two subnodes:
    • name: the name of the variable

    • concept: the type of the variable

  • T-voc-value: a reference to a vocabulary value.

    It has two subnodes:
    • text: the textual representation of the value

    • concept: the type of the value

The voc.properties file defines all the semantic actions, type information getters, and the translators necessary to use them.