org.springmodules.validation.bean.rule
Class PropertyValidationRule.DefaultApplicabilityCondition

java.lang.Object
  extended by org.springmodules.validation.util.condition.AbstractCondition
      extended by org.springmodules.validation.bean.rule.PropertyValidationRule.DefaultApplicabilityCondition
All Implemented Interfaces:
Condition
Enclosing class:
PropertyValidationRule

protected static class PropertyValidationRule.DefaultApplicabilityCondition
extends AbstractCondition


Constructor Summary
PropertyValidationRule.DefaultApplicabilityCondition(String propertyName, ValidationRule rule)
           
 
Method Summary
 boolean doCheck(Object obj)
          Performs the actual checking of this condition on the checked object.
 
Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition
afterObjectChecked, and, beforeObjectChecked, check, or
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValidationRule.DefaultApplicabilityCondition

public PropertyValidationRule.DefaultApplicabilityCondition(String propertyName,
                                                            ValidationRule rule)
Method Detail

doCheck

public boolean doCheck(Object obj)
Description copied from class: AbstractCondition
Performs the actual checking of this condition on the checked object.

Specified by:
doCheck in class AbstractCondition
Parameters:
obj - The object to be checked.
Returns:
true if the given object adheres to this condition, false otherwise.


Copyright © 2009. All Rights Reserved.