Class NegativeOrZeroValidatorForBigInteger
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.number.sign.NegativeOrZeroValidatorForBigInteger
- All Implemented Interfaces:
ConstraintValidator<NegativeOrZero,
BigInteger>
public class NegativeOrZeroValidatorForBigInteger
extends Object
implements ConstraintValidator<NegativeOrZero,BigInteger>
Check that the number being validated is negative or zero.
- Author:
- Hardy Ferentschik, Xavier Sosnovsky, Guillaume Smet, Marko Bekhta
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(BigInteger value, ConstraintValidatorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.validation.ConstraintValidator
initialize
-
Constructor Details
-
NegativeOrZeroValidatorForBigInteger
public NegativeOrZeroValidatorForBigInteger()
-
-
Method Details
-
isValid
- Specified by:
isValid
in interfaceConstraintValidator<NegativeOrZero,
BigInteger>
-