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