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 void
fromJson(com.google.gson.JsonObject job)
List<Var>
getAllVariables()
List<Var>
getAllVariables(VarType type)
String
getName()
Var
getVariable(String id)
List<String>
getVariableNames()
boolean
isLocalOnly()
Var
removeVariable(String id)
VariableScope
setLocalOnly(boolean localOnly)
VariableScope
setName(String name)
VariableScope
setVariable(String name, Var var)
com.google.gson.JsonObject
toJson()
-
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
-