org.jarbframework.validation
Class LengthConstraintValidationStep

java.lang.Object
  extended by org.jarbframework.validation.LengthConstraintValidationStep
All Implemented Interfaces:
DatabaseConstraintValidationStep

public class LengthConstraintValidationStep
extends Object
implements DatabaseConstraintValidationStep


Constructor Summary
LengthConstraintValidationStep()
           
 
Method Summary
 void validate(Object propertyValue, PropertyReference propertyRef, ColumnMetadata columnMetadata, DatabaseConstraintValidationContext context)
          Validates a property value on database column constraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LengthConstraintValidationStep

public LengthConstraintValidationStep()
Method Detail

validate

public void validate(Object propertyValue,
                     PropertyReference propertyRef,
                     ColumnMetadata columnMetadata,
                     DatabaseConstraintValidationContext context)
Description copied from interface: DatabaseConstraintValidationStep
Validates a property value on database column constraints.

Specified by:
validate in interface DatabaseConstraintValidationStep
Parameters:
propertyValue - the property value to validate
propertyRef - reference to the property
columnMetadata - metadata of the column referenced by our property
context - the validation result in which violations are stored


Copyright © 2011-2012. All Rights Reserved.