|
|||||||||
| 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.MaxValidationRule
public class MaxValidationRule
An AbstractValidationRule that validates and checks that a comparable value is less than or equals
a specific upper bound.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ERROR_CODE
|
| Constructor Summary | |
|---|---|
MaxValidationRule(java.lang.Comparable max)
Constructs a new MaxValidationRule with a given upper bound. |
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Returns the condition of this validation rule. |
java.lang.Comparable |
getMax()
|
| 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 MaxValidationRule(java.lang.Comparable max)
max - The upper bound.| Method Detail |
|---|
public Condition getCondition()
ValidationRule.getCondition()public java.lang.Comparable getMax()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||