org.jarbframework.validation
Interface DatabaseConstraintValidationStep
- All Known Implementing Classes:
- FractionLengthConstraintValidationStep, LengthConstraintValidationStep, NotNullConstraintValidationStep
public interface DatabaseConstraintValidationStep
Database constraint validation step that can be performed during a validate.
- Since:
- 19-10-2011
- Author:
- Jeroen van Schagen
validate
void validate(Object propertyValue,
PropertyReference propertyRef,
ColumnMetadata columnMetadata,
DatabaseConstraintValidationContext validation)
- Validates a property value on database column constraints.
- Parameters:
propertyValue - the property value to validatepropertyRef - reference to the propertycolumnMetadata - metadata of the column referenced by our propertyvalidation - the validation result in which violations are stored
Copyright © 2011-2012. All Rights Reserved.