org.jarbframework.validation
Class NotNullConstraintValidationStep

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

public class NotNullConstraintValidationStep
extends Object
implements DatabaseConstraintValidationStep


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

NotNullConstraintValidationStep

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