org.springmodules.validation.bean.rule
Class PropertyValidationRule.DefaultApplicabilityCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.bean.rule.PropertyValidationRule.DefaultApplicabilityCondition
- All Implemented Interfaces:
- Condition
- Enclosing class:
- PropertyValidationRule
protected static class PropertyValidationRule.DefaultApplicabilityCondition
- extends AbstractCondition
Method Summary |
boolean |
doCheck(Object obj)
Performs the actual checking of this condition on the checked object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyValidationRule.DefaultApplicabilityCondition
public PropertyValidationRule.DefaultApplicabilityCondition(String propertyName,
ValidationRule rule)
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.