| Constructor and Description |
|---|
UnboundVariable(java.lang.Class type)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
eval(java.lang.Object candidate,
java.lang.Object orig,
StoreContext ctx,
java.lang.Object[] params)
Return this value for the given candidate.
|
java.lang.Class |
getType()
Return the expected type for this value, or
Object if
the type is unknown. |
boolean |
isVariable()
Return true if this value is a variable.
|
void |
setImplicitType(java.lang.Class type)
Set the implicit type of the value, based on how it is used in the
filter.
|
void |
setValue(java.lang.Object value)
Set the variable's current value.
|
acceptVisit, eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isXPath, setAlias, setMetaDatapublic UnboundVariable(java.lang.Class type)
public boolean isVariable()
ValueisVariable in interface ValueisVariable in class Valpublic java.lang.Class getType()
ValueObject if
the type is unknown.public void setImplicitType(java.lang.Class type)
ValueObject from Value.getType().public void setValue(java.lang.Object value)
protected java.lang.Object eval(java.lang.Object candidate,
java.lang.Object orig,
StoreContext ctx,
java.lang.Object[] params)
ValCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.