|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.fe.statemachine.base.apploaders.Event
com.bankframe.fe.statemachine.ext.apploaders.bean.Event
public class Event
| Constructor Summary | |
|---|---|
Event()
|
|
| Method Summary | |
|---|---|
void |
addProcess(IProcess process)
|
void |
addProcessAt(IProcess process,
int index)
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
void |
addPropertyChangeListener(String name,
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. |
Properties |
getControllerProperties()
Returns the user properties for the state transition. |
IInputRequirements |
getInputRequirements()
|
Iterator |
getProcesses()
This method returns the processes used by this object. |
Enumeration |
getStateTransitions()
Returns all allowed state transitions from this event as a java.util.Enumeration. |
String |
getTitle()
This method returns a descriptive name for the Event. |
IStateTransition |
getTransition(String name)
Returns the state transition with the given name. |
Properties |
getUserProperties()
Returns the userProperties assiciated with this Event. |
void |
removeProcess(IProcess process)
|
void |
removeProcessAt(int index)
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
removePropertyChangeListener(String name,
PropertyChangeListener listener)
|
void |
removeStateTransition(StateTransition transition)
|
void |
removeStateTransitionAt(int index)
|
boolean |
requiresValidation()
|
void |
setControllerName(String controllerName)
|
void |
setControllerProperties(Properties newControllerProperties)
|
void |
setInputRequirements(IInputRequirements inputRequirements)
Sets the inputRequirements. |
void |
setName(String name)
|
void |
setProcesses(ProcessUser processes)
Sets the processes. |
void |
setRequiresValidation(boolean newRequiresValidation)
|
void |
setTitle(String title)
|
void |
setUserProperties(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 |
|---|
public Event()
| Method Detail |
|---|
public IInputRequirements getInputRequirements()
IEvent.getInputRequirements()public Iterator getProcesses()
IProcessUser
getProcesses in interface IProcessUserIProcessUser.getProcesses()public void addProcess(IProcess process)
addProcess in interface IMutableProcessUserIMutableProcessUser.addProcess(IProcess)
public void addProcessAt(IProcess process,
int index)
addProcessAt in interface IMutableProcessUserIMutableProcessUser.addProcessAt(IProcess, int)public void removeProcess(IProcess process)
removeProcess in interface IMutableProcessUserIMutableProcessUser.removeProcess(IProcess)public void removeProcessAt(int index)
removeProcessAt in interface IMutableProcessUserIMutableProcessUser.removeProcessAt(int)
public void swapProcesses(int index1,
int index2)
swapProcesses in interface IMutableProcessUserIMutableProcessUser.swapProcesses(int, int)public void setInputRequirements(IInputRequirements inputRequirements)
inputRequirements - The inputRequirements to setpublic void setControllerName(String controllerName)
public void setName(String name)
public void setUserProperties(Properties userProperties)
public void setControllerProperties(Properties newControllerProperties)
public void setTitle(String title)
public Enumeration getStateTransitions()
IEvent
getStateTransitions in interface IEventgetStateTransitions in class Eventpublic boolean allowsResult(IStateTransition transition)
IEvent
allowsResult in interface IEventallowsResult in class Eventtransition - the transition to be tested
public IStateTransition getTransition(String name)
Event
getTransition in interface IEventgetTransition in class Eventname - the state transition name.
public void addStateTransition(StateTransition transition)
public void addStateTransitionAt(StateTransition transition,
int index)
public void removeStateTransition(StateTransition transition)
public void removeStateTransitionAt(int index)
public void swapStateTransitions(int index1,
int index2)
public Properties getUserProperties()
IEvent
getUserProperties in interface IEventgetUserProperties in class EventIEvent.getUserProperties()public Properties getControllerProperties()
IEvent
getControllerProperties in interface IEventgetControllerProperties in class Eventpublic String getTitle()
IEvent
getTitle in interface IEventgetTitle in class EventIEvent.getTitle()public void setProcesses(ProcessUser processes)
processes - The processes to setpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String name,
PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String name,
PropertyChangeListener listener)
public boolean requiresValidation()
requiresValidation in interface IEventpublic void setRequiresValidation(boolean newRequiresValidation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||