public static class EvaluationContext.SingleVariableContext extends EvaluationContext
EvaluationContext.MultiVariableContext, EvaluationContext.SingleVariableContext| Constructor and Description |
|---|
SingleVariableContext(EvaluationContext parentContext,
IExpression variable,
java.lang.Object[] parameters) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getValue(IExpression var)
Retrieve the value of the given
variable from this context |
void |
setValue(IExpression var,
java.lang.Object val)
Set the current value for the given
variable to value |
create, create, create, create, create, create, create, create, create, getIndexProvider, getParameter, setIndexProviderpublic SingleVariableContext(EvaluationContext parentContext, IExpression variable, java.lang.Object[] parameters)
public java.lang.Object getValue(IExpression var)
IEvaluationContextvariable from this contextgetValue in interface IEvaluationContextgetValue in class EvaluationContextvar - The variable who's value should be retrievedpublic void setValue(IExpression var, java.lang.Object val)
IEvaluationContextvariable to valuesetValue in interface IEvaluationContextsetValue in class EvaluationContextvar - The variable who's value should be setval - The new value for the variable.