rero.script
Class GlobalVariables

java.lang.Object
  extended byrero.script.GlobalVariables
All Implemented Interfaces:
Variable

public class GlobalVariables
extends Object
implements Variable


Field Summary
protected  Variable alternateVariables
           
protected  HashMap data
           
 
Constructor Summary
GlobalVariables()
           
 
Method Summary
 Variable createInternalVariableContainer()
           
 Variable createLocalVariableContainer()
           
 Scalar getScalar(String key)
           
 Scalar putScalar(String key, Scalar value)
           
 void removeScalar(String key)
           
 boolean scalarExists(String key)
           
 void setOtherVariables(Variable _alternateVariables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected HashMap data

alternateVariables

protected Variable alternateVariables
Constructor Detail

GlobalVariables

public GlobalVariables()
Method Detail

setOtherVariables

public void setOtherVariables(Variable _alternateVariables)

scalarExists

public boolean scalarExists(String key)
Specified by:
scalarExists in interface Variable

getScalar

public Scalar getScalar(String key)
Specified by:
getScalar in interface Variable

putScalar

public Scalar putScalar(String key,
                        Scalar value)
Specified by:
putScalar in interface Variable

removeScalar

public void removeScalar(String key)
Specified by:
removeScalar in interface Variable

createLocalVariableContainer

public Variable createLocalVariableContainer()
Specified by:
createLocalVariableContainer in interface Variable

createInternalVariableContainer

public Variable createInternalVariableContainer()
Specified by:
createInternalVariableContainer in interface Variable