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

java.lang.Object
  extended bycom.bankframe.fe.statemachine.ext.apploaders.bean.Application
All Implemented Interfaces:
IApplication, IApplication

public class Application
extends java.lang.Object
implements IApplication


Constructor Summary
Application()
          Constructor for Application.
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 java.lang.String getName()
          Returns the name of this Application.
 IState getRootState()
          Returns the root State for this Application.
 IState getStartState()
          Returns the start state for this Application.
 java.lang.String getStartStateId()
          Returns the startStateId.
 IState getState(java.lang.String name)
          Returns the named State.
 java.util.Vector getStates()
          This method returns all the states for this application.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 void setName(java.lang.String name)
          Sets the name.
 void setRootState(State rootState)
          Sets the rootState.
 void setStartStateId(java.lang.String startStateId)
          Sets the startStateId.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Application

public Application()
Constructor for Application.

Method Detail

getState

public IState getState(java.lang.String name)
Description copied from interface: IApplication
Returns the named State.

Specified by:
getState in interface IApplication
Parameters:
name - the id of the required state.
Returns:
the state with the given id
See Also:
IApplication.getState(String)

getName

public java.lang.String getName()
Description copied from interface: IApplication
Returns the name of this Application.

Specified by:
getName in interface IApplication
Returns:
the name of the application.
See Also:
IApplication.getName()

getRootState

public IState getRootState()
Description copied from interface: IApplication
Returns the root State for this Application.

Specified by:
getRootState in interface IApplication
Returns:
the root state of the application.
See Also:
IApplication.getRootState()

getStartState

public IState getStartState()
Description copied from interface: IApplication
Returns the start state for this Application.

Specified by:
getStartState in interface IApplication
Returns:
the start state of the application.
See Also:
IApplication.getStartState()

getStartStateId

public java.lang.String getStartStateId()
Returns the startStateId.

Returns:
String

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set

setRootState

public void setRootState(State rootState)
Sets the rootState.

Parameters:
rootState - The rootState to set

setStartStateId

public void setStartStateId(java.lang.String startStateId)
Sets the startStateId.

Parameters:
startStateId - The startStateId to set

getStates

public java.util.Vector getStates()
Description copied from interface: IApplication
This method returns all the states for this application.

Specified by:
getStates in interface IApplication
Returns:
Vector

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String name,
                                      java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String name,
                                         java.beans.PropertyChangeListener listener)


Copyright © 2005, 2007, Oracle. All rights reserved.