|
|||||||||
| 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.NonNullAcceptingCondition
org.springmodules.validation.util.condition.bean.AbstractBeanCondition
public abstract class AbstractBeanCondition
A parent class to all bean related conditions. Such condition may perform checks on beans properties.
| Constructor Summary | |
|---|---|
AbstractBeanCondition()
|
|
| Method Summary | |
|---|---|
protected abstract boolean |
checkBean(BeanWrapper beanWrapper)
|
boolean |
doCheck(java.lang.Object object)
See Condition.check(Object). |
| Methods inherited from class org.springmodules.validation.util.condition.NonNullAcceptingCondition |
|---|
beforeObjectChecked |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, check, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBeanCondition()
| Method Detail |
|---|
public final boolean doCheck(java.lang.Object object)
Condition.check(Object). This method creates a
BeanWrapper instance of the checked object and delegates the call to
#checkBean(org.springframework.beans.BeanWrapper);
doCheck in class AbstractConditionobject - The object to be checked.
true if the given object adheres to this condition, false otherwise.
java.lang.IllegalArgumentException - when the passed in object is null.protected abstract boolean checkBean(BeanWrapper beanWrapper)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||