Hiding a rule model class

You can hide a rule model class so that it does not show in the list of available types when you create a business rule.

About this task

To hide a rule model class when you create a business rule with a wizard, you create a Type Visibility item.

Procedure

To hide a rule model class:

  1. Create or open an extension model file.
  2. In the Rule Model Extension Editor, right-click the extension model entry and then click New Child  > Type Visibility.

    The tree displays a new Type Visibility item.

  3. Select the Type Visibility item and, in the Properties view, set the Class Name property to the name of the rule model class that you want to hide.
  4. Make sure that the property visible is set to false and then save your work.

Results

You have now hidden a rule model class from the creation wizards.

In XML, you create a type visibility item as follows:


<type-visibility className="MyRule"/>