class UnboundVariable extends Val
Constructor and Description |
---|
UnboundVariable(Class type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
eval(Object candidate,
Object orig,
StoreContext ctx,
Object[] params)
Return this value for the given candidate.
|
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(Class type)
Set the implicit type of the value, based on how it is used in the
filter.
|
void |
setValue(Object value)
Set the variable's current value.
|
acceptVisit, eval, evaluate, evaluate, getAlias, getMetaData, getName, getPath, getSelectAs, isAggregate, isXPath, setAlias, setMetaData
public UnboundVariable(Class type)
public boolean isVariable()
Value
isVariable
in interface Value
isVariable
in class Val
public Class getType()
Value
Object
if
the type is unknown.public void setImplicitType(Class type)
Value
Object
from Value.getType()
.public void setValue(Object value)
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.