|
||||||||||
| 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.MinSizeValidationRule
public class MinSizeValidationRule
An AbstractValidationRule that validates and checks that the size of a collection or an array is greater
than or equals a specific lower bound.
| Field Summary | |
|---|---|
static String |
DEFAULT_ERROR_CODE
|
| Constructor Summary | |
|---|---|
MinSizeValidationRule(int min)
Constructs a new MinSizeValidationRule with a given lower bound. |
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Returns the condition of this validation rule. |
int |
getMin()
|
| Methods inherited from class org.springmodules.validation.bean.rule.AbstractValidationRule |
|---|
checkContexts, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, getDefaultErrorMessage, getErrorArguments, getErrorCode, isApplicable, setApplicabilityCondition, setContextTokens, 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 String DEFAULT_ERROR_CODE
| Constructor Detail |
|---|
public MinSizeValidationRule(int min)
min - The lower bond.| Method Detail |
|---|
public Condition getCondition()
ValidationRule.getCondition()public int getMin()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||