com.bankframe.fe.statemachine.ext.apploaders.sax
Class StateTransition

java.lang.Object
  extended bycom.bankframe.fe.statemachine.base.apploaders.StateTransition
      extended bycom.bankframe.fe.statemachine.ext.apploaders.bean.StateTransition
          extended bycom.bankframe.fe.statemachine.ext.apploaders.sax.StateTransition
All Implemented Interfaces:
IMutableProcessUser, IProcessUser, IStateTransition, IStateTransition, java.io.Serializable

public class StateTransition
extends StateTransition

This class represents a state transition of an event. The application loader will create an instance of this class for each transition found and add it to its event object.

Author:
engineering
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.bankframe.fe.statemachine.base.apploaders.IStateTransition
DEFAULT, FINAL, HISTORY, HISTORY_STAR
 
Constructor Summary
StateTransition(org.xml.sax.Attributes atts, Application application)
          This constructor creates a new StateTransition, the StateTransition is initialised with the attribute set given.
 
Method Summary
 java.util.ArrayList getProcessNamesList()
          Returns the processNamesList.
 IState getResultState()
          This method returns the result state object for this transition.
 void initializeProcessUser(java.util.Map processMap)
           
 void setProcessNamesList(java.util.ArrayList processNamesList)
          Sets the processNamesList.
 
Methods inherited from class com.bankframe.fe.statemachine.ext.apploaders.bean.StateTransition
addProcess, addProcessAt, addPropertyChangeListener, addPropertyChangeListener, checkGuardCondition, getGuardCondition, getGuardConditionProperties, getProcesses, getProcessUser, getStateId, removeProcess, removeProcessAt, removePropertyChangeListener, removePropertyChangeListener, setEntryCondition, setGuardCondition, setGuardConditionProperties, setGuardConditionType, setName, setProcesses, setProcessUser, setResultState, setStateId, setUserProperties, swapProcesses
 
Methods inherited from class com.bankframe.fe.statemachine.base.apploaders.StateTransition
getEntryCondition, getName, getUserProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bankframe.fe.statemachine.base.apploaders.IStateTransition
getEntryCondition, getName, getUserProperties
 

Constructor Detail

StateTransition

public StateTransition(org.xml.sax.Attributes atts,
                       Application application)
This constructor creates a new StateTransition, the StateTransition is initialised with the attribute set given.

The attribute set should contain the following attributes:
name, the state transition name
resultStateId, the state this transition ends in
entryCondition, an optional attribute specifying the an entry condition of DEFAULT, HISTORY or HISTORY_STAR if this attribute is not present DEFAULT entry condition is assumed.
gaurdConditionDesc, an optional description of the gaurd condition for this transition.

Method Detail

getResultState

public IState getResultState()
This method returns the result state object for this transition.

Specified by:
getResultState in interface IStateTransition
Overrides:
getResultState in class StateTransition

getProcessNamesList

public java.util.ArrayList getProcessNamesList()
Returns the processNamesList.

Returns:
ArrayList

setProcessNamesList

public void setProcessNamesList(java.util.ArrayList processNamesList)
Sets the processNamesList.

Parameters:
processNamesList - The processNamesList to set

initializeProcessUser

public void initializeProcessUser(java.util.Map processMap)


Copyright © 2004 Siebel Systems, Inc. All rights reserved.