|
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 | |||||||||
java.lang.Object | +--com.solarmetric.rd.kodo.query.exp.BoundVariable
Represents a bound variable. Variables are aliased to the collection that is stated to contain them in the query. When the query is evaluated, expressions containing variables will be executed once for every element in the collection.
| Constructor Summary | |
BoundVariable(java.lang.String name,
java.lang.Class type)
Constructor. |
|
| Method Summary | |
void |
castTo(java.lang.Class type)
Cast this value to the given type. |
java.lang.Object |
evaluate(java.lang.Object candidate,
java.lang.Object orig,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
Evaluate the given candidate. |
boolean |
isVariable()
Return true if this value is a variable. |
boolean |
setValue(java.lang.Object value)
Set the value this variable should take for the current iteration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BoundVariable(java.lang.String name,
java.lang.Class type)
| Method Detail |
public boolean setValue(java.lang.Object value)
public boolean isVariable()
Value
isVariable in interface Valuepublic void castTo(java.lang.Class type)
InMemoryValue
castTo in interface InMemoryValue
public java.lang.Object evaluate(java.lang.Object candidate,
java.lang.Object orig,
com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.util.Map params)
InMemoryValue
evaluate in interface InMemoryValue
|
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 | |||||||||