Package com.bc.ceres.binding.validators
Class NotNullValidator
- java.lang.Object
-
- com.bc.ceres.binding.validators.NotNullValidator
-
-
Constructor Summary
Constructors Constructor Description NotNullValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateValue(Property property, Object value)
Validates a value with respect to a provided property.
-
-
-
Method Detail
-
validateValue
public void validateValue(Property property, Object value) throws ValidationException
Description copied from interface:Validator
Validates a value with respect to a provided property.- Specified by:
validateValue
in interfaceValidator
- Parameters:
property
- The property.value
- The value to be validated.- Throws:
ValidationException
- If validation fails.
-
-