Plug the custom validation classes you create into the master index application by specifying the name of the custom plug-in for the class in the Field Validation file, as shown below.
<ValidationConfig module-name="Validation"
parser-class= "com.stc.eindex.configurator.impl.validation.ValidationConfiguration"
<rules>
<rule name="validate-auxiliary-id" object-name="PersonObject"
class="com.stc.eindex.user.AuxiliaryId"/>
<rule name="validate-birth-date" object-name="PersonObject"
class="com.stc.eindex.user.BirthDate"/>
</rules>
</ValidationConfig>
|