public class AbstractNumberValidator
extends AbstractFieldPathValidator
Base class to group common methods for comparing Number.
public void doValidate(@NotNull java.lang.Number value, @NotNull FieldExpression fieldExpression, @NotNull DataSearchErrors errors)
public void validateSingle(@NotNull java.lang.Object value, @NotNull FieldExpression fieldExpression, @NotNull DataSearchErrors errors)
Override this method to validate the given single value
related to the interface FieldExpression
.
The given interface DataSearchErrors
instance can be used to report any resulting validation errors.
value
- single value to be validated. Cannot be a Collection (validateCollection
is called).fieldExpression
- interface FieldExpression
related to the value
errors
- interface DataSearchErrors
instance used to report any resulting validation errorsvalue
,
interface FieldExpression
,
interface DataSearchErrors