|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.TypeSpecificCondition
org.springmodules.validation.util.condition.NonNullAcceptingTypeSpecificCondition
public abstract class NonNullAcceptingTypeSpecificCondition
A base class to all type specific conditions that cannot checkCalendar null values.
| Constructor Summary | |
|---|---|
NonNullAcceptingTypeSpecificCondition(java.lang.Class type)
Constructs a new NonNullAcceptingTypeSpecificCondition with a given support type. |
|
NonNullAcceptingTypeSpecificCondition(java.lang.Class[] types)
Constructs a new NonNullAcceptingTypeSpecificCondition with given supported types. |
|
| Method Summary | |
|---|---|
protected void |
beforeObjectChecked(java.lang.Object object)
See TypeSpecificCondition.beforeObjectChecked(Object). |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, check, doCheck, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonNullAcceptingTypeSpecificCondition(java.lang.Class type)
type - The object type this condition supports.public NonNullAcceptingTypeSpecificCondition(java.lang.Class[] types)
types - The object types supported by this condition.| Method Detail |
|---|
protected void beforeObjectChecked(java.lang.Object object)
TypeSpecificCondition.beforeObjectChecked(Object).
Also checks whether the checked object is null.
beforeObjectChecked in class TypeSpecificConditionobject - The checked object.
java.lang.IllegalArgumentException - if the object is either null or is not of the types supported
by this condition.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||