|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A filter listener extends JDOQL filters with custom functionality.
| Method Summary | |
Object |
evaluate(Object target,
Object arg,
Object candidate,
KodoPersistenceManager pm)
Evaluate the given expression. |
boolean |
expectsArgument()
Return true if this extension expects an argument to act on. |
boolean |
expectsTarget()
Return true if this extension expects a target to act on. |
String |
getTag()
Return the tag that this extension listens for. |
boolean |
isExpression()
Return true if this extension is an expression; i.e. |
| Method Detail |
public String getTag()
public boolean expectsArgument()
field.ext:toUpperCase ().public boolean expectsTarget()
field.ext:toUpperCase () acts on the target
field but has no arguments, while another possible form,
ext:toUpperCase (field) has no target but does have an
argument.public boolean isExpression()
true or false on its own.
public Object evaluate(Object target,
Object arg,
Object candidate,
KodoPersistenceManager pm)
target - the target object / field value to act on; will be
null if this extension does not expect a targetarg - the value of the argument given in the filter; will
be null if this extension does not expect an
argumentcandidate - the candidate object being evaluatedpm - a persistence manager to use if neededBoolean.TRUE or Boolean.FALSEJDOUserException - if this extension does not support
in-memory operation
|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||