|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.bean.rule.AbstractValidationRule
org.springmodules.validation.bean.rule.ExpressionValidationRule
public class ExpressionValidationRule
An AbstractValidationRule implementation that validates and checks a value based on a condition expression
(See package org.springmodules.validation.util.cel).
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ERROR_CODE
|
| Constructor Summary | |
|---|---|
ExpressionValidationRule(ConditionExpressionParser parser,
java.lang.String expression)
Constructs a new ExpressionValidationRule with given expression and expression parser. |
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Returns the condition of this validation rule. |
| Methods inherited from class org.springmodules.validation.bean.rule.AbstractValidationRule |
|---|
createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, getDefaultErrorMessage, getErrorArguments, getErrorCode, isApplicable, setApplicabilityCondition, setDefaultErrorMessage, setErrorArgumentsResolver, setErrorCode, supportsNullValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_ERROR_CODE
| Constructor Detail |
|---|
public ExpressionValidationRule(ConditionExpressionParser parser,
java.lang.String expression)
parser - The expression parser to use when parsing the given expression.expression - The condition expression.| Method Detail |
|---|
public Condition getCondition()
ValidationRule.getCondition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||