Class NotNullValidator
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.NotNullValidator
- All Implemented Interfaces:
ConstraintValidator<NotNull,
Object>
Validate that the object is not
null
.- Author:
- Emmanuel Bernard
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(Object object, ConstraintValidatorContext constraintValidatorContext) 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
-
NotNullValidator
public NotNullValidator()
-
-
Method Details
-
isValid
- Specified by:
isValid
in interfaceConstraintValidator<NotNull,
Object>
-