IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.automaton.html
Class TCInfo

java.lang.Object
  extended by com.ibm.btt.automaton.html.TCInfo
All Implemented Interfaces:
java.io.Serializable

public class TCInfo
extends java.lang.Object
implements java.io.Serializable

This class represents a persistent storage of the transition context to be created dynamically for a given transition of an HTML processor state.

See Also:
Serialized Form

Field Summary
protected  java.lang.String[] addElements
          The array of names of the DataElements to be added into the transition context *
protected  int addElementsLength
          The addElements length *
protected  int addElementsMAXLength
          The addElements maximum length *
protected  java.lang.String[] createElements
          The array of names of the DataElements to be created in the transition context *
protected  int createElementsLength
          The createElements length *
protected  int createElementsMAXLength
          The createElements maximum length *
protected  java.lang.String[] removeElements
          The array of names of the DataElements to be removed from the transition context *
protected  int removeElementsLength
          The removeElements length *
protected  int removeElementsMAXLength
          The removeElements maximum length *
protected  Hashtable transitionParameters
          Stores the parameterName parameterValue pairs to be assigned to the delegateValAssessment attribute of the transition once this is restored *
 
Constructor Summary
TCInfo()
           
 
Method Summary
 void addAddElements(java.lang.String dataName)
          Adds a new dataName in the addElements array
 void addCreateElements(Vector dataNames)
          Sets the createElements array with a new set of dataNames
 void addRemoveElements(java.lang.String dataName)
          Adds a new element in the removeElements array
 void deleteAddElements()
          Deletes the data names contained in the addElements array
 void deleteCreateElements()
          Deletes the data names contained in the createElements array
 void deleteRemoveElements()
          Deletes the data names contained in the removeElements array
 java.lang.String[] getAddElements()
          Gets the addElements array
 int getAddElementsLength()
          Gets the addElements array size
 java.lang.String[] getCreateElements()
          Gets the createElements array
 int getCreateElementsLength()
          Gets the createElements array size
 java.lang.String getParameter(java.lang.String name)
          Returns the value of a parameter from the transitionParameters if this parameters exists.
 java.lang.String[] getRemoveElements()
          Gets the removeElements array
 int getRemoveElementsLength()
          Gets the removeElements array
 void setParameter(java.lang.String name, java.lang.String value)
          Adds a name value pair to the transitionParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addElements

protected java.lang.String[] addElements
The array of names of the DataElements to be added into the transition context *


addElementsLength

protected int addElementsLength
The addElements length *


addElementsMAXLength

protected final int addElementsMAXLength
The addElements maximum length *

See Also:
Constant Field Values

createElements

protected java.lang.String[] createElements
The array of names of the DataElements to be created in the transition context *


createElementsLength

protected int createElementsLength
The createElements length *


createElementsMAXLength

protected final int createElementsMAXLength
The createElements maximum length *

See Also:
Constant Field Values

removeElements

protected java.lang.String[] removeElements
The array of names of the DataElements to be removed from the transition context *


removeElementsLength

protected int removeElementsLength
The removeElements length *


removeElementsMAXLength

protected final int removeElementsMAXLength
The removeElements maximum length *

See Also:
Constant Field Values

transitionParameters

protected Hashtable transitionParameters
Stores the parameterName parameterValue pairs to be assigned to the delegateValAssessment attribute of the transition once this is restored *

Constructor Detail

TCInfo

public TCInfo()
Method Detail

addAddElements

public void addAddElements(java.lang.String dataName)
Adds a new dataName in the addElements array

Parameters:
String - - The data name

addCreateElements

public void addCreateElements(Vector dataNames)
Sets the createElements array with a new set of dataNames

Parameters:
Vector - - The vector of data names

addRemoveElements

public void addRemoveElements(java.lang.String dataName)
Adds a new element in the removeElements array

Parameters:
String - - The dataName to be added

deleteAddElements

public void deleteAddElements()
Deletes the data names contained in the addElements array


deleteCreateElements

public void deleteCreateElements()
Deletes the data names contained in the createElements array


deleteRemoveElements

public void deleteRemoveElements()
Deletes the data names contained in the removeElements array


getAddElements

public java.lang.String[] getAddElements()
Gets the addElements array

Returns:
String []

getAddElementsLength

public int getAddElementsLength()
Gets the addElements array size

Returns:
int

getCreateElements

public java.lang.String[] getCreateElements()
Gets the createElements array

Returns:
String []

getCreateElementsLength

public int getCreateElementsLength()
Gets the createElements array size

Returns:
int

getParameter

public java.lang.String getParameter(java.lang.String name)
Returns the value of a parameter from the transitionParameters if this parameters exists. Otherwise returns null.

Parameters:
String - - the name of the parameter
Returns:
String - the value of the parameter

getRemoveElements

public java.lang.String[] getRemoveElements()
Gets the removeElements array

Returns:
String []

getRemoveElementsLength

public int getRemoveElementsLength()
Gets the removeElements array

Returns:
int

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
Adds a name value pair to the transitionParameters

Parameters:
String - - the name of the paramer
String - - the value

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011