|
|||||||||
| 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.adapter.CommonsPredicateCondition
public class CommonsPredicateCondition
A Jakarta Commmons Predicate condition adapter. This condition deligates the call to an associated {@link Predicate).
| Constructor Summary | |
|---|---|
CommonsPredicateCondition(Predicate predicate)
Constructs a new CommonsPredicateCondition with a given predicate. |
|
| Method Summary | |
|---|---|
boolean |
doCheck(java.lang.Object object)
Checks the given object against the predicate associated with this condition. |
Predicate |
getPredicate()
Returns the predicate associated with this condition. |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, beforeObjectChecked, check, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonsPredicateCondition(Predicate predicate)
predicate - The given predicate.| Method Detail |
|---|
public boolean doCheck(java.lang.Object object)
doCheck in class AbstractConditionobject - The object to be checked.
Predicate#evaluate(Object).public Predicate getPredicate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||