Use the Registering a Java Class as a Rule dialog box to specify the Java class that will be used as a validation rule. Select an existing class (it needs to be compiled and available in the classpath of the project), to be registered as a validation rule. Give a valid alias by which the project should address the selected class.
|
Field |
Description |
|
Class |
The Java class to which the validation rule belongs. If you do not want to use the displayed class, click Browse to select the validator class from a tree of available packages in the classpath. Alternatively, a fully qualified class name can be entered in to the Class field. If the name is a valid validation rule class (it implements JbiValidator interface), then it's description is shown in the Description field. Click OK and the rule will be registered with the project via the Project Wizard. |
|
Name |
A default name is provided for the validation rule. You can accept the default or enter a different name. |
|
Description |
A text description of the validation rule. |