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

Method Summary
 void validate(Object propertyValue, PropertyReference propertyRef, ColumnMetadata columnMetadata, DatabaseConstraintValidationContext validation)
          Validates a property value on database column constraints.
 

Method Detail

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 validate
propertyRef - reference to the property
columnMetadata - metadata of the column referenced by our property
validation - the validation result in which violations are stored


Copyright © 2011-2012. All Rights Reserved.