First page Back Continue Last page Graphics

Using Declarative Built-in Rules: Unique Key Validator


Using a Unique Key Validator

A Unique Key validator can be defined only at the entity level. However, it behaves internally like an attribute-level validator; users see the validation error when they attempt to tab out of the key attribute that the validator is validating.

When you create a Unique Key validator, a <UniqueKeyValidationBean> tag is added to the entity object’s XML file.