Package com.aquima.interactions.rule
Interface IValidatorCall
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BankAccountValidatorCall
,DateValidatorCall
,NumberValidatorCall
,RegexpValidatorCall
,SofiNumberValidatorCall
,StringValidatorCall
,ValidatorCallAdapter
,ValidatorCallBase
This interface defines the methods needed for a value validator call.
- Since:
- 7.4
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the type of the validator.boolean
This method will be invoked for each value that should be validated by this validator.
-
Method Details
-
getTypeName
String getTypeName()This method returns the type of the validator. The type name is used to link the validator definition, the actual validator, and the validation definition together.- Returns:
- The type name of the validator.
-
validate
This method will be invoked for each value that should be validated by this validator.- Parameters:
attrValue
- The value that should be validated.- Returns:
- Boolean indicating if the value is deemed valid by this validator.
-