|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.sposh.engine.VariableContext
public final class VariableContext
This class is responsible for storing and passing arguments throught the posh plan. Unnamed varibales are named as number (e.g. "0", "1"...), named variables have same name as in plan.
| Constructor Summary | |
|---|---|
VariableContext()
|
|
| Method Summary | |
|---|---|
String[] |
getKeys()
Get keys of all variables in this context. |
Object |
getValue(String variableName)
Get value stored in the |
Object |
put(String parameterName,
Object value)
Put another variable into this context |
int |
size()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VariableContext()
| Method Detail |
|---|
public Object put(String parameterName,
Object value)
parameterName - name of new parametervalue - value of parameter
public String[] getKeys()
public Object getValue(String variableName)
variableName -
public String toString()
toString in class Objectpublic int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||