com.bankframe.fe.statemachine.ext.apploaders.bean
Class FinalState

java.lang.Object
  extended bycom.bankframe.fe.statemachine.base.apploaders.State
      extended bycom.bankframe.fe.statemachine.ext.apploaders.bean.State
          extended bycom.bankframe.fe.statemachine.ext.apploaders.bean.FinalState
All Implemented Interfaces:
IMutableProcessUser, IProcessUser, IState, IState, java.io.Serializable

public class FinalState
extends State

See Also:
Serialized Form

Constructor Summary
FinalState()
           
 
Method Summary
 boolean acceptsEvent(IEvent event)
          Returns trus if the given event is a valid event to be throws from this state.
 java.util.Iterator getEvents()
          Returns an iterator over all the events that can be thrown from this state.
 IState getExceptionState(java.lang.String exceptionDescription)
          Returns a State which can be used if the named exception occurs.
 java.lang.String getId()
          Returns this states Id.
 java.lang.String getTitle()
          Returns the title.
 IView getView()
          Returns the IView implementor for this state.
 java.util.Properties getViewProperties()
           
 
Methods inherited from class com.bankframe.fe.statemachine.ext.apploaders.bean.State
addChild, addEvent, addExceptionState, addProcess, addProcessAt, addPropertyChangeListener, addPropertyChangeListener, getInputRequirements, getParent, getProcesses, getProcessUser, getRootState, getStateById, getUserProperties, getViewClassName, removeProcess, removeProcessAt, removePropertyChangeListener, removePropertyChangeListener, setDefaultEvent, setId, setInputRequirements, setParent, setProcessUser, setTitle, setUserProperties, setViewClassName, setViewProperties, swapProcesses
 
Methods inherited from class com.bankframe.fe.statemachine.base.apploaders.State
acceptsSession, executeStateCommand, getChildren, getDefaultEvent, getEvent, getParentState, getTitle, getUnitOfWork, getUserProperties, getView
 
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.IState
acceptsSession, executeStateCommand, getChildren, getDefaultEvent, getEvent, getParentState, getUnitOfWork
 

Constructor Detail

FinalState

public FinalState()
Method Detail

getExceptionState

public IState getExceptionState(java.lang.String exceptionDescription)
Description copied from interface: IState
Returns a State which can be used if the named exception occurs. If this state does not have such an exception, this method searches the parent states, back to the root state. If not state has an exception state with the given name, this method returns the root state.

Specified by:
getExceptionState in interface IState
Overrides:
getExceptionState in class State
See Also:
IState.getExceptionState(String)

getTitle

public java.lang.String getTitle()
Description copied from class: State
Returns the title.

Specified by:
getTitle in interface IState
Overrides:
getTitle in class State
Returns:
String
See Also:
IState.getTitle()

getId

public java.lang.String getId()
Description copied from interface: IState
Returns this states Id.

Specified by:
getId in interface IState
Overrides:
getId in class State

acceptsEvent

public boolean acceptsEvent(IEvent event)
Description copied from interface: IState
Returns trus if the given event is a valid event to be throws from this state.

Specified by:
acceptsEvent in interface IState
Overrides:
acceptsEvent in class State
See Also:
IState.acceptsEvent(IEvent)

getEvents

public java.util.Iterator getEvents()
Description copied from interface: IState
Returns an iterator over all the events that can be thrown from this state. Note that this does not recurse through parent states.

Specified by:
getEvents in interface IState
Overrides:
getEvents in class State
Returns:
an Iterator over IEvents
See Also:
IState.getEvents()

getViewProperties

public java.util.Properties getViewProperties()
Specified by:
getViewProperties in interface IState
Overrides:
getViewProperties in class State
See Also:
IState.getViewProperties()

getView

public IView getView()
              throws ViewNotFoundException
Description copied from interface: IState
Returns the IView implementor for this state.

Specified by:
getView in interface IState
Overrides:
getView in class State
Throws:
ViewNotFoundException
See Also:
IState.getView()


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