com.bankframe.fe.statemachine.base.apploaders
Class StateTransition

java.lang.Object
  extended bycom.bankframe.fe.statemachine.base.apploaders.StateTransition
All Implemented Interfaces:
IStateTransition
Direct Known Subclasses:
StateTransition

public class StateTransition
extends java.lang.Object
implements IStateTransition


Field Summary
 
Fields inherited from interface com.bankframe.fe.statemachine.base.apploaders.IStateTransition
DEFAULT, FINAL, HISTORY, HISTORY_STAR
 
Constructor Summary
StateTransition()
          Creates a new StateTransition.
StateTransition(int entryCondition, IState resultState, java.lang.String name)
          Creates a new StateTransition.
 
Method Summary
 int getEntryCondition()
          Returns the entry condition for this state transition.
 java.lang.String getName()
          Returns the name of this state transition.
 IState getResultState()
          Returns the result state for this state transition.
 java.util.Properties getUserProperties()
          Returns the user properties for the state transition.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateTransition

public StateTransition()
Creates a new StateTransition.


StateTransition

public StateTransition(int entryCondition,
                       IState resultState,
                       java.lang.String name)
                throws java.lang.IllegalArgumentException
Creates a new StateTransition.

Parameters:
entryCondition - the entry condition on this state transition.
resultState - the state to enter
name - the name of this StateTransition
Throws:
java.lang.IllegalArgumentException - if entryCondition is not one of DEFAULT, HISTORY, or HISTORY_STAR from IStateTransition.
Method Detail

getEntryCondition

public int getEntryCondition()
Description copied from interface: IStateTransition
Returns the entry condition for this state transition.

Specified by:
getEntryCondition in interface IStateTransition
Returns:
the entry condition for this state transition: one of DEFAULT, HISTORY or HISTORY_STAR.

getResultState

public IState getResultState()
Description copied from interface: IStateTransition
Returns the result state for this state transition.

Specified by:
getResultState in interface IStateTransition
Returns:
the result state for this state transition.

getName

public java.lang.String getName()
Description copied from interface: IStateTransition
Returns the name of this state transition.

Specified by:
getName in interface IStateTransition
Returns:
the name of this state transition.

getUserProperties

public java.util.Properties getUserProperties()
Description copied from interface: IStateTransition
Returns the user properties for the state transition. May be used to store information about side effects or messages, for instance.

Specified by:
getUserProperties in interface IStateTransition
Returns:
userProperties


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