|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a discrete state in a state machine or workflow. It is contained by a StateMachine
and refered to by Transitions
name
[State] <*>------> [String
]
StateHome
,
StateImpl
Method Summary | |
void |
enter(Transition trans)
This method is invoked whenever the state is entered. |
void |
error(Transition trans)
This method is invoked whenever the state is transitioned from in erro. |
void |
exit(Transition trans)
This method is invoked whenever the state is transitioned from. |
TransitionPolicy |
getEnterPolicy()
Get the transition policy that is invoked when the state is entered. |
TransitionPolicy |
getErrorPolicy()
Set the transition policy that is invoked when the state is exited with an invalid transition. |
TransitionPolicy |
getExitPolicy()
Get the transition policy that is invoked when the state is exited. |
java.lang.String |
getName()
Get the value of name |
void |
setEnterPolicy(TransitionPolicy policy)
Set a transition policy that is invoked when the state is entered. |
void |
setErrorPolicy(TransitionPolicy policy)
Set a transition policy that is invoked when the state is exited with an invalid transition. |
void |
setExitPolicy(TransitionPolicy policy)
Set a transition policy that is invoked when the state is exited. |
void |
setName(java.lang.String name)
Set the value of name |
Methods inherited from interface theory.smart.foundation.Belonging |
equals,
value |
Methods inherited from interface com.sun.java.util.collections.Comparable |
compareTo |
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
names
- name to be addedpublic void enter(Transition trans) throws java.rmi.RemoteException
public void exit(Transition trans) throws java.rmi.RemoteException
public void error(Transition trans) throws java.rmi.RemoteException
public void setEnterPolicy(TransitionPolicy policy) throws java.rmi.RemoteException
public TransitionPolicy getEnterPolicy() throws java.rmi.RemoteException
public void setExitPolicy(TransitionPolicy policy) throws java.rmi.RemoteException
public TransitionPolicy getExitPolicy() throws java.rmi.RemoteException
public void setErrorPolicy(TransitionPolicy policy) throws java.rmi.RemoteException
public TransitionPolicy getErrorPolicy() throws java.rmi.RemoteException
|
bea Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |