Creating a rule model class
You define a rule model class so that you can use a new business rule language.
About this task
Deprecated feature:
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.
To be able to use a dedicated business rule language, you must define a new class of business rule in the rule model.
Procedure
To create a rule model class for a new business rule language:
Results
You now have a custom rule model class for the new business rule language. You can add properties to this class so that every rule created with the class has these properties.
In XML, you create a rule model class for a new language as follows:
<class name="MyRuleType" extends="BRLRule">
<annotation id="language" value="myLanguage"/>
</class>