|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.BelongingImpl | +--com.beasys.commerce.foundation.StateImpl
Represents a discrete state in a state machine or workflow. It is contained by a StateMachine
and refered to by Transitions
State
,
StateHome
, Serialized FormField Summary | |
java.lang.String |
name
A name that identifies the state uniquely within the context of a state machine. |
Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier,
__containingBelonging,
__containingEntity,
__mapKey,
__sequenceNumber |
Constructor Summary | |
StateImpl()
|
Method Summary | |
int |
compareTo(java.lang.Object o)
|
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 |
java.lang.String |
interfaceName()
|
void |
setByValue(Belonging value)
|
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 |
Belonging |
value()
|
Methods inherited from class com.beasys.commerce.foundation.BelongingImpl |
clearRelationalBinding,
clearRelationalBinding,
clearRelationalBinding,
clearRelationalBinding,
clone,
equals,
get__classIdentifier,
get__containingBelonging,
get__containingEntity,
get__containingEntityReference,
get__mapKey,
get__sequenceNumber,
set__containingBelonging,
set__containingEntity,
set__containingEntityReference,
set__mapKey |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public java.lang.String name
name
[State] <*>------> [java.lang.String
]
Constructor Detail |
public StateImpl()
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- name to be addedpublic Belonging value()
public java.lang.String interfaceName()
public void setByValue(Belonging value)
public int compareTo(java.lang.Object o)
public void enter(Transition trans)
public void exit(Transition trans)
public void error(Transition trans)
public void setEnterPolicy(TransitionPolicy policy)
public TransitionPolicy getEnterPolicy()
public void setExitPolicy(TransitionPolicy policy)
public TransitionPolicy getExitPolicy()
public void setErrorPolicy(TransitionPolicy policy)
public TransitionPolicy getErrorPolicy()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |