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