IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.automaton.html
Class HtmlStateInfo

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

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

This class represents a persistent storage entity for an HTML processor state.

See Also:
Serialized Form

Field Summary
protected  Hashtable transitionContexts
           
 
Constructor Summary
HtmlStateInfo()
          HtmlStateInfo constructor.
 
Method Summary
 void addDataElementToTransitionContext(java.lang.String transitionName, java.lang.String dataName)
          Stores the data element name to be added to the transiton context for the specified transition.
 void createTransitionContext(java.lang.String transitionName, Vector dataNames)
          Stores the data element names to be created for transiton context for the specified transition with the set of dataNames.
 java.lang.String getStateName()
          Returns the state name property.
 TCInfo getTCInfo(java.lang.String transitionName)
           
 java.lang.String getTransitionParameter(java.lang.String transitionName, java.lang.String paramName)
          Gets the value for the parameter named paramName for a transitionName of this state Returns null if the parameter is not defined for the transaction
 boolean isIgnoresEntryActions()
          Returns the entry actions attribute of this class.
 boolean isIgnoresReturnType()
          Returns the ignore return type property.
 boolean isRunningFlag()
          Returns the isRunning property.
 void removeDataElementFromTransitionContext(java.lang.String transitionName, java.lang.String dataName)
          Stores the data element name to be removed from the transiton context for the specified transition.
 void setIgnoresEntryActions(boolean newIgnoresEntryActions)
          Sets the entry actions property.
 void setIgnoresReturnType(boolean newIgnoresReturnType)
          Sets the ignore return type property.
 void setRunningFlag(boolean newRunningFlag)
          Sets the isRunning property.
 void setStateName(java.lang.String newStateName)
          Sets the state name property.
 void setTransitionParameter(java.lang.String transitionName, java.lang.String paramName, java.lang.String paramValue)
          Sets a parameter given by paramName with a value given by paramValue for a transitionName of this state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transitionContexts

protected Hashtable transitionContexts
Constructor Detail

HtmlStateInfo

public HtmlStateInfo()
HtmlStateInfo constructor.

Method Detail

addDataElementToTransitionContext

public void addDataElementToTransitionContext(java.lang.String transitionName,
                                              java.lang.String dataName)
Stores the data element name to be added to the transiton context for the specified transition.

Parameters:
String - - The transition name
String - - The name of the data element to be added

createTransitionContext

public void createTransitionContext(java.lang.String transitionName,
                                    Vector dataNames)
                             throws DSEException
Stores the data element names to be created for transiton context for the specified transition with the set of dataNames.

Parameters:
String - - The transition name
Vector - - A vector with the data element names to be added
Throws:
DSEException

getStateName

public java.lang.String getStateName()
Returns the state name property.

Returns:
java.lang.String

getTCInfo

public TCInfo getTCInfo(java.lang.String transitionName)
Parameters:
transitionName -
Returns:

getTransitionParameter

public java.lang.String getTransitionParameter(java.lang.String transitionName,
                                               java.lang.String paramName)
Gets the value for the parameter named paramName for a transitionName of this state Returns null if the parameter is not defined for the transaction

Parameters:
String - - The transitionName
String - - The parameter name
Returns:
String - The parameter value

isIgnoresEntryActions

public boolean isIgnoresEntryActions()
Returns the entry actions attribute of this class.

Returns:
boolean

isIgnoresReturnType

public boolean isIgnoresReturnType()
Returns the ignore return type property.

Returns:
boolean

isRunningFlag

public boolean isRunningFlag()
Returns the isRunning property.

Returns:
boolean

removeDataElementFromTransitionContext

public void removeDataElementFromTransitionContext(java.lang.String transitionName,
                                                   java.lang.String dataName)
Stores the data element name to be removed from the transiton context for the specified transition.

Parameters:
String - - The transition name
String - - The name of the data element to be removed

setIgnoresEntryActions

public void setIgnoresEntryActions(boolean newIgnoresEntryActions)
Sets the entry actions property.

Parameters:
newIgnoresEntryActions - boolean

setIgnoresReturnType

public void setIgnoresReturnType(boolean newIgnoresReturnType)
Sets the ignore return type property.

Parameters:
newIgnoresReturnType - boolean

setRunningFlag

public void setRunningFlag(boolean newRunningFlag)
Sets the isRunning property.

Parameters:
newRunningFlag - boolean

setStateName

public void setStateName(java.lang.String newStateName)
Sets the state name property.

Parameters:
newStateName - java.lang.String

setTransitionParameter

public void setTransitionParameter(java.lang.String transitionName,
                                   java.lang.String paramName,
                                   java.lang.String paramValue)
Sets a parameter given by paramName with a value given by paramValue for a transitionName of this state

Parameters:
String - - The transitionName
String - - The parameter name
String - - The parameter value

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011