|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.tbg.TbgVariables
This class implements the structure that stores the variables found in a template TBG.
Constructor Summary | |
TbgVariables()
This constructor creates a TbgVariables object. |
Method Summary | |
void |
copyGlobalVariables(java.util.Hashtable aGlobal)
Copies, creating a new instance, the specified hashtable to the global variables. |
void |
copyLocalVariables(java.util.Hashtable aLocal)
Copies, creating a new instance, the specified hashtable to the local variables. |
void |
copyLoopAllowedValuesVariables(java.util.Hashtable aLoopAllowedValues)
Copies, creating a new instance, the specified hashtable to the loop allowed_values variables. |
void |
copyLoopAttrVariables(java.util.Hashtable aLoopAttr)
Copies, creating a new instance, the specified hashtable to the loop Attribute variables. |
void |
copyLoopVariables(java.util.Hashtable aLoop)
Copies, creating a new instance, the specified hashtable to the loop variables. |
boolean |
exists(java.lang.String var)
Returns if the variable exists |
java.util.Hashtable |
getGlobal()
Returns the value of the globalVariables property. |
java.lang.Object |
getGlobal(java.lang.String variable)
Returns the value of the specified global variable. |
java.util.Hashtable |
getLocal()
Returns the local variables. |
java.lang.Object |
getLocal(java.lang.String variable)
Returns the value of the specified local variable. |
java.util.Hashtable |
getLoop()
Returns the loop variables. |
java.lang.Object |
getLoop(java.lang.String variable)
Returns the value of the specified loop variable. |
java.util.Hashtable |
getLoopAllowedValues()
Returns the loop allowed_values variables. |
java.lang.Object |
getLoopAllowedValues(java.lang.String variable)
Returns the value of the specified loop variable. |
java.util.Hashtable |
getLoopAttr()
Returns the loop attributes variables. |
java.lang.Object |
getLoopAttr(java.lang.String variable)
Returns the value of the specified loop variable. |
static java.lang.Object |
getSynchronized(java.lang.String variable)
Returns the value of the specified synchronized variable. |
TableRow |
getVariable(java.lang.String alias)
Returns the TableRow pointed by the specified variable. |
boolean |
isGlobal(java.lang.String variable)
Tests if the specified string is a global variable. |
boolean |
isLocal(java.lang.String variable)
Tests if the specified string is a local variable. |
boolean |
isLoop(java.lang.String variable)
Tests if the specified string is a loop variable. |
boolean |
isLoopAllowedValues(java.lang.String variable)
Tests if the specified string is a loop allowed_values variable. |
boolean |
isLoopAttr(java.lang.String variable)
Tests if the specified string is a loop attributes variable. |
static boolean |
isSynchronized(java.lang.String variable)
Tests if the specified string is a synchronized variable. |
void |
removeGlobal(java.lang.String variable)
Removes the variable from the global variables. |
void |
removeLocal(java.lang.String variable)
Removes the variable from the local variables. |
void |
removeLoop(java.lang.String variable)
Removes the variable from the loop's variables. |
void |
removeLoopAllowedValues(java.lang.String variable)
Removes the variable from the loop's variables. |
void |
removeLoopAttr(java.lang.String variable)
Removes the variable from the loop's variables. |
void |
removeSynchronized()
Removes the synchronized variables hashtable. |
void |
removeSynchronized(java.lang.String variable)
Removes the variable from the synchronized variables. |
void |
setGlobal(java.lang.String variable,
java.lang.Object value)
Maps the specified global variable to the specified value. |
void |
setGlobalVariables(java.util.Hashtable aGlobal)
Sets to the Hashtable of global variables the specified instance. |
void |
setLocal(java.lang.String variable,
java.lang.Object value)
Maps the specified local variable to the specified value. |
void |
setLocalVariables(java.util.Hashtable aLocal)
Sets to the Hashtable of local variables the specified instance. |
void |
setLoop(java.lang.String variable,
java.lang.Object value)
Maps the loop variable to the specified value. |
void |
setLoopAllowedValues(java.lang.String variable,
java.lang.Object value)
Maps the specified loop variable to the specified value. |
void |
setLoopAttr(java.lang.String variable,
java.lang.Object value)
Maps the specified loop variable to the specified value. |
void |
setLoopAttrVariables(java.util.Hashtable aLoopAttr)
Sets to the Hashtable of loop properties variables the specified instance. |
void |
setLoopVariables(java.util.Hashtable aLoop)
Sets to the Hashtable of loop variables the specified instance. |
static void |
setSynchronized(java.lang.String variable,
java.lang.Object value)
Maps the specified synchronized variable to the specified value. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TbgVariables()
Initializes all the variables to store, setting for each type a new instances of an empty Hashtable.
Method Detail |
public void copyGlobalVariables(java.util.Hashtable aGlobal)
aGlobal
- Hashtable the new global variables.public void copyLocalVariables(java.util.Hashtable aLocal)
aLocal
- Hashtable the new local variables.public void copyLoopAllowedValuesVariables(java.util.Hashtable aLoopAllowedValues)
aLoopAllowedValues
- Hashtable the new loop allowed_values variables.public void copyLoopAttrVariables(java.util.Hashtable aLoopAttr)
aLoopAttr
- Hashtable the new loop attribute variables.public void copyLoopVariables(java.util.Hashtable aLoop)
aLoop
- Hashtable the new loop variables.public boolean exists(java.lang.String var)
var
- java.lang.Stringpublic java.util.Hashtable getGlobal()
public java.lang.Object getGlobal(java.lang.String variable)
variable
- java.lang.String The variable name.public java.util.Hashtable getLocal()
public java.lang.Object getLocal(java.lang.String variable)
variable
- java.lang.String The variable name.public java.util.Hashtable getLoop()
public java.lang.Object getLoop(java.lang.String variable)
variable
- java.lang.String The variable name.public java.util.Hashtable getLoopAllowedValues()
public java.lang.Object getLoopAllowedValues(java.lang.String variable)
variable
- java.lang.String The variable name.public java.util.Hashtable getLoopAttr()
public java.lang.Object getLoopAttr(java.lang.String variable)
variable
- java.lang.String The variable name.public static java.lang.Object getSynchronized(java.lang.String variable)
variable
- java.lang.String The variable name.public TableRow getVariable(java.lang.String alias)
If the specified String exists as a variable, returns the TableRow pointed by the variable.
alias
- java.lang.String The variable name.public boolean isGlobal(java.lang.String variable)
variable
- java.lang.String The variable name.public boolean isLocal(java.lang.String variable)
variable
- java.lang.String The variable name.public boolean isLoop(java.lang.String variable)
variable
- java.lang.String The variable name.public boolean isLoopAllowedValues(java.lang.String variable)
variable
- java.lang.String The variable name.public boolean isLoopAttr(java.lang.String variable)
variable
- java.lang.String The variable name.public static boolean isSynchronized(java.lang.String variable)
variable
- java.lang.String The variable name.public void removeGlobal(java.lang.String variable)
variable
- java.lang String The variable name.public void removeLocal(java.lang.String variable)
variable
- java.lang String The variable name.public void removeLoop(java.lang.String variable)
variable
- java.lang String The variable name.public void removeLoopAllowedValues(java.lang.String variable)
variable
- java.lang String The variable that needs to be removed.public void removeLoopAttr(java.lang.String variable)
variable
- java.lang String The variable that needs to be removed.public void removeSynchronized()
variable
- java.lang String The variable name.public void removeSynchronized(java.lang.String variable)
variable
- java.lang String The variable name.public void setGlobal(java.lang.String variable, java.lang.Object value)
variable
- java.lang.String The variable name.value
- Object The value.public void setGlobalVariables(java.util.Hashtable aGlobal)
aGlobal
- Hashtable The Hastable to set.public void setLocal(java.lang.String variable, java.lang.Object value)
variable
- java.lang.String The variable name.value
- Object The value.public void setLocalVariables(java.util.Hashtable aLocal)
aLocal
- Hashtable The Hastable to set.public void setLoop(java.lang.String variable, java.lang.Object value)
variable
- java.lang.String The variable name.value
- Object The value.public void setLoopAllowedValues(java.lang.String variable, java.lang.Object value)
variable
- java.lang.String The variable name.value
- Object The value.public void setLoopAttr(java.lang.String variable, java.lang.Object value)
variable
- java.lang.String The variable name.value
- Object The value.public void setLoopAttrVariables(java.util.Hashtable aLoopAttr)
aLoopAttr
- Hashtable The Hastable to set.public void setLoopVariables(java.util.Hashtable aLoop)
aLoop
- Hashtable The Hastable to set.public static void setSynchronized(java.lang.String variable, java.lang.Object value)
variable
- java.lang.String The variable name.value
- Object The value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |