|
|||||||||
| 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.MinLengthValidationRule
public class MinLengthValidationRule
An AbstractValidationRule that validates and checks that the length of a string
is greater than or equals a specific lower bound.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ERROR_CODE
|
| Constructor Summary | |
|---|---|
MinLengthValidationRule(int min)
Constructs a new MinLengthValidationRule 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 |
|---|
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 MinLengthValidationRule(int min)
min - The lower bound.| 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 | ||||||||