Class NumberValidator

java.lang.Object
com.aquima.interactions.framework.validator.ValidatorBase
com.aquima.interactions.framework.validator.NumberValidator
All Implemented Interfaces:
IValidator, Serializable

public class NumberValidator extends ValidatorBase
Validation implementation that forwards its call to the NumberValidatorCall.
Since:
7.4
Author:
Jon van Leuven
See Also:
  • Constructor Details

    • NumberValidator

      protected NumberValidator(String name)
  • Method Details

    • validate

      public boolean validate(IValue attrValue, IParameters parameters)
      Description copied from interface: IValidator
      This method will be invoked for each value that should be validated by this validator.
      Parameters:
      attrValue - The value that should be validated.
      parameters - The (optional) parameters that can be used during validation.
      Returns:
      Boolean indicating if the value is deemed valid by this validator.