|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springmodules.validation.valang.predicates.AbstractPropertyPredicate
org.springmodules.validation.valang.predicates.GenericTestPredicate
public class GenericTestPredicate
GenericTestPredicate can test if a property value is null or not null.
| Constructor Summary | |
|---|---|
GenericTestPredicate(Function leftFunction,
Operator operator,
Function rightFunction,
int line,
int column)
Constructor taking two functions and an operator. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(Object target)
The evaluate method takes the result of both functions and tests with the operator. |
| Methods inherited from class org.springmodules.validation.valang.predicates.AbstractPropertyPredicate |
|---|
getArray, getColumn, getIterator, getLeftFunction, getLine, getOperator, getRightFunction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericTestPredicate(Function leftFunction,
Operator operator,
Function rightFunction,
int line,
int column)
Constructor taking two functions and an operator.
leftFunction - the left functionoperator - the operator.| Method Detail |
|---|
public boolean evaluate(Object target)
The evaluate method takes the result of both functions and tests with the operator.
evaluate in interface org.apache.commons.collections.Predicateevaluate in class AbstractPropertyPredicatetarget - The target bean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||