org.jarbframework.validation
Class FractionLengthConstraintValidationStep

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

public class FractionLengthConstraintValidationStep
extends Object
implements DatabaseConstraintValidationStep


Constructor Summary
FractionLengthConstraintValidationStep()
           
 
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

FractionLengthConstraintValidationStep

public FractionLengthConstraintValidationStep()
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.