Class ValidatorCallAdapter
java.lang.Object
com.aquima.interactions.rule.validation.ValidatorCallAdapter
- All Implemented Interfaces:
IValidatorCall
,Serializable
Adapter class to create a IValidatorCall for a IValidator
- Since:
- 8.4
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
ValidatorCallAdapter
-
-
Method Details
-
getTypeName
Description copied from interface:IValidatorCall
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.- Specified by:
getTypeName
in interfaceIValidatorCall
- Returns:
- The type name of the validator.
-
validate
Description copied from interface:IValidatorCall
This method will be invoked for each value that should be validated by this validator.- Specified by:
validate
in interfaceIValidatorCall
- Parameters:
attrValue
- The value that should be validated.- Returns:
- Boolean indicating if the value is deemed valid by this validator.
-