org.springmodules.validation.bean.rule
Class ConditionReferenceValidationRule
java.lang.Object
org.springmodules.validation.bean.rule.AbstractValidationRule
org.springmodules.validation.bean.rule.ConditionReferenceValidationRule
- All Implemented Interfaces:
- ValidationRule
public class ConditionReferenceValidationRule
- extends AbstractValidationRule
- Author:
- Uri Boness
Methods inherited from class org.springmodules.validation.bean.rule.AbstractValidationRule |
checkContexts, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, getDefaultErrorMessage, getErrorArguments, getErrorCode, isApplicable, setApplicabilityCondition, setContextTokens, setDefaultErrorMessage, setErrorArgumentsResolver, setErrorCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ERROR_CODE
public static final String DEFAULT_ERROR_CODE
- See Also:
- Constant Field Values
ConditionReferenceValidationRule
public ConditionReferenceValidationRule(String beanName,
ApplicationContext applicationContext)
getCondition
public Condition getCondition()
- Description copied from interface:
ValidationRule
- Returns the condition of this validation rule.
- Returns:
- The condition of this validation rule.
supportsNullValues
protected boolean supportsNullValues()
- Description copied from class:
AbstractValidationRule
- Determines whether this validation rule supports
null
values. This method by default returns false,
any sub-class that supports null
values should override this method and return true
.
- Overrides:
supportsNullValues
in class AbstractValidationRule
- Returns:
- whether this validation rule supports
null
values.
Copyright © 2009. All Rights Reserved.