|
|||||||||
| 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.NotNullValidationRule
public class NotNullValidationRule
An AbstractValidationRule implementation that validates and checks that
a value is not null.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_ERROR_CODE
|
| Constructor Summary | |
|---|---|
NotNullValidationRule()
Constructs a new NotNullValidationRule. |
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Returns the condition of this validation rule. |
protected boolean |
supportsNullValues()
Indicates that this validation rule supports null values, that is, that it can validate null values. |
| Methods inherited from class org.springmodules.validation.bean.rule.AbstractValidationRule |
|---|
createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, createErrorArgumentsResolver, getDefaultErrorMessage, getErrorArguments, getErrorCode, isApplicable, setApplicabilityCondition, setDefaultErrorMessage, setErrorArgumentsResolver, setErrorCode |
| 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 NotNullValidationRule()
| Method Detail |
|---|
public Condition getCondition()
ValidationRule.getCondition()protected boolean supportsNullValues()
supportsNullValues in class AbstractValidationRulenull values.AbstractValidationRule.supportsNullValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||