|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A filter listener extends JDOQL filters with custom functionality.
| Method Summary | |
java.lang.Object |
evaluate(java.lang.Object target,
java.lang.Object arg,
java.lang.Object candidate,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl 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. |
java.lang.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 java.lang.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 java.lang.Object evaluate(java.lang.Object target,
java.lang.Object arg,
java.lang.Object candidate,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl 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 needed
Boolean.TRUE or Boolean.FALSE
javax.jdo.JDOUserException - if this extension does not support
in-memory operation
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||