Package com.walkfares.odsl.var
Class VariableScope
java.lang.Object
com.walkfares.odsl.var.VariableScope
public class VariableScope extends Object
-
Constructor Summary
Constructors Constructor Description VariableScope() -
Method Summary
Modifier and Type Method Description voidfromJson(com.google.gson.JsonObject job)List<Var>getAllVariables()List<Var>getAllVariables(VarType type)StringgetName()VargetVariable(String id)List<String>getVariableNames()booleanisLocalOnly()VarremoveVariable(String id)VariableScopesetLocalOnly(boolean localOnly)VariableScopesetName(String name)VariableScopesetVariable(String name, Var var)com.google.gson.JsonObjecttoJson()
-
Constructor Details
-
VariableScope
public VariableScope()
-
-
Method Details
-
toJson
public com.google.gson.JsonObject toJson() -
fromJson
public void fromJson(com.google.gson.JsonObject job) -
getVariable
-
setVariable
-
removeVariable
-
getVariableNames
-
getAllVariables
-
getAllVariables
-
getName
-
setName
-
isLocalOnly
public boolean isLocalOnly() -
setLocalOnly
-