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

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

public class Event
extends Event
implements IEvent, java.io.Serializable, IMutableProcessUser

See Also:
Serialized Form

Constructor Summary
Event()
           
 
Method Summary
 void addProcess(IProcess process)
           
 void addProcessAt(IProcess process, int index)
           
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addPropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 void addStateTransition(StateTransition transition)
           
 void addStateTransitionAt(StateTransition transition, int index)
           
 boolean allowsResult(IStateTransition transition)
          Returns true if the given state transition is allowed from this event.
 java.util.Properties getControllerProperties()
          Returns the user properties for the state transition.
 IInputRequirements getInputRequirements()
           
 java.util.Iterator getProcesses()
          This method returns the processes used by this object.
 java.util.Enumeration getStateTransitions()
          Returns all allowed state transitions from this event as a java.util.Enumeration.
 java.lang.String getTitle()
          This method returns a descriptive name for the Event.
 IStateTransition getTransition(java.lang.String name)
          Returns the state transition with the given name.
 java.util.Properties getUserProperties()
          Returns the userProperties assiciated with this Event.
 void removeProcess(IProcess process)
           
 void removeProcessAt(int index)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void removePropertyChangeListener(java.lang.String name, java.beans.PropertyChangeListener listener)
           
 void removeStateTransition(StateTransition transition)
           
 void removeStateTransitionAt(int index)
           
 boolean requiresValidation()
           
 void setControllerName(java.lang.String controllerName)
           
 void setControllerProperties(java.util.Properties newControllerProperties)
           
 void setInputRequirements(IInputRequirements inputRequirements)
          Sets the inputRequirements.
 void setName(java.lang.String name)
           
 void setProcesses(ProcessUser processes)
          Sets the processes.
 void setRequiresValidation(boolean newRequiresValidation)
           
 void setTitle(java.lang.String title)
           
 void setUserProperties(java.util.Properties userProperties)
           
 void swapProcesses(int index1, int index2)
           
 void swapStateTransitions(int index1, int index2)
           
 
Methods inherited from class com.bankframe.fe.statemachine.base.apploaders.Event
acceptsSession, allowsResult, getController, getName, getTitle, getUnitOfWork, 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.IEvent
acceptsSession, allowsResult, getController, getName, getUnitOfWork
 

Constructor Detail

Event

public Event()
Method Detail

getInputRequirements

public IInputRequirements getInputRequirements()
Specified by:
getInputRequirements in interface IEvent
See Also:
IEvent.getInputRequirements()

getProcesses

public java.util.Iterator getProcesses()
Description copied from interface: IProcessUser
This method returns the processes used by this object.

Specified by:
getProcesses in interface IProcessUser
See Also:
IProcessUser.getProcesses()

addProcess

public void addProcess(IProcess process)
Specified by:
addProcess in interface IMutableProcessUser
See Also:
IMutableProcessUser.addProcess(IProcess)

addProcessAt

public void addProcessAt(IProcess process,
                         int index)
Specified by:
addProcessAt in interface IMutableProcessUser
See Also:
IMutableProcessUser.addProcessAt(IProcess, int)

removeProcess

public void removeProcess(IProcess process)
Specified by:
removeProcess in interface IMutableProcessUser
See Also:
IMutableProcessUser.removeProcess(IProcess)

removeProcessAt

public void removeProcessAt(int index)
Specified by:
removeProcessAt in interface IMutableProcessUser
See Also:
IMutableProcessUser.removeProcessAt(int)

swapProcesses

public void swapProcesses(int index1,
                          int index2)
Specified by:
swapProcesses in interface IMutableProcessUser
See Also:
IMutableProcessUser.swapProcesses(int, int)

setInputRequirements

public void setInputRequirements(IInputRequirements inputRequirements)
Sets the inputRequirements.

Parameters:
inputRequirements - The inputRequirements to set

setControllerName

public void setControllerName(java.lang.String controllerName)

setName

public void setName(java.lang.String name)

setUserProperties

public void setUserProperties(java.util.Properties userProperties)

setControllerProperties

public void setControllerProperties(java.util.Properties newControllerProperties)
Specified by:
setControllerProperties in interface IEvent

setTitle

public void setTitle(java.lang.String title)

getStateTransitions

public java.util.Enumeration getStateTransitions()
Description copied from interface: IEvent
Returns all allowed state transitions from this event as a java.util.Enumeration.

Specified by:
getStateTransitions in interface IEvent
Overrides:
getStateTransitions in class Event

allowsResult

public boolean allowsResult(IStateTransition transition)
Description copied from interface: IEvent
Returns true if the given state transition is allowed from this event.

Specified by:
allowsResult in interface IEvent
Overrides:
allowsResult in class Event

getTransition

public IStateTransition getTransition(java.lang.String name)
Description copied from interface: IEvent
Returns the state transition with the given name.

Specified by:
getTransition in interface IEvent
Overrides:
getTransition in class Event
Parameters:
name - the state transition name.
Returns:
IStateTransition instance

addStateTransition

public void addStateTransition(StateTransition transition)

addStateTransitionAt

public void addStateTransitionAt(StateTransition transition,
                                 int index)

removeStateTransition

public void removeStateTransition(StateTransition transition)

removeStateTransitionAt

public void removeStateTransitionAt(int index)

swapStateTransitions

public void swapStateTransitions(int index1,
                                 int index2)

getUserProperties

public java.util.Properties getUserProperties()
Description copied from interface: IEvent
Returns the userProperties assiciated with this Event.

Specified by:
getUserProperties in interface IEvent
Overrides:
getUserProperties in class Event
See Also:
IEvent.getUserProperties()

getControllerProperties

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

Specified by:
getControllerProperties in interface IEvent
Overrides:
getControllerProperties in class Event

getTitle

public java.lang.String getTitle()
Description copied from interface: IEvent
This method returns a descriptive name for the Event. Where appropriate, the return from this method can be used in views in place of the name.

Specified by:
getTitle in interface IEvent
Overrides:
getTitle in class Event
See Also:
IEvent.getTitle()

setProcesses

public void setProcesses(ProcessUser processes)
Sets the processes.

Parameters:
processes - The processes to set

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)

requiresValidation

public boolean requiresValidation()
Specified by:
requiresValidation in interface IEvent

setRequiresValidation

public void setRequiresValidation(boolean newRequiresValidation)


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