Package org.apache.bval.constraints
Class MinValidatorForNumber
- java.lang.Object
-
- org.apache.bval.constraints.MinValidatorForNumber
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.Min,Number>
public class MinValidatorForNumber extends Object implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.Min,Number>
Description: validate that number-value of passed object is >= min-value
-
-
Constructor Summary
Constructors Constructor Description MinValidatorForNumber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(jakarta.validation.constraints.Min annotation)
boolean
isValid(Number value, jakarta.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(jakarta.validation.constraints.Min annotation)
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<jakarta.validation.constraints.Min,Number>
-
-