|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.foundation.BelongingImpl
com.beasys.commerce.foundation.StateImpl
@Deprecated public class 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 Form| Field Summary | |
|---|---|
String |
name
Deprecated 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, _isDirty |
| Constructor Summary | |
|---|---|
StateImpl()
Deprecated |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Deprecated Compares a given object with this Belonging. |
void |
enter(Transition trans)
Deprecated This method is invoked whenever the state is entered. |
void |
error(Transition trans)
Deprecated This method is invoked whenever the state is transitioned from in erro. |
void |
exit(Transition trans)
Deprecated This method is invoked whenever the state is transitioned from. |
TransitionPolicy |
getEnterPolicy()
Deprecated Get the transition policy that is invoked when the state is entered. |
TransitionPolicy |
getErrorPolicy()
Deprecated Set the transition policy that is invoked when the state is exited with an invalid transition. |
TransitionPolicy |
getExitPolicy()
Deprecated Get the transition policy that is invoked when the state is exited. |
String |
getName()
Deprecated Get the value of name |
String |
interfaceName()
Deprecated Returns the unqualified name of the interface as specified in the UML model. |
void |
setByValue(Belonging value)
Deprecated Intializes the Belonging based upon a supplied Belonging. |
void |
setEnterPolicy(TransitionPolicy policy)
Deprecated Set a transition policy that is invoked when the state is entered. |
void |
setErrorPolicy(TransitionPolicy policy)
Deprecated Set a transition policy that is invoked when the state is exited with an invalid transition. |
void |
setExitPolicy(TransitionPolicy policy)
Deprecated Set a transition policy that is invoked when the state is exited. |
void |
setName(String name)
Deprecated Set the value of name |
Belonging |
value()
Deprecated Returns a type safe shallow copy of the Belonging instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.beasys.commerce.foundation.Belonging |
|---|
clone, equals |
| Field Detail |
|---|
public String name
name
[State] <*>------> [java.lang.String]
| Constructor Detail |
|---|
public StateImpl()
| Method Detail |
|---|
public String getName()
getName in interface Statepublic void setName(String name)
setName in interface Statename - name to be addedpublic Belonging value()
Belonging
value in interface Belongingpublic String interfaceName()
Belonging
interfaceName in interface Belongingpublic void setByValue(Belonging value)
BelongingImplBelonging based upon a supplied Belonging.
setByValue in interface BelongingsetByValue in class BelongingImplvalue - The Belonging to use for initialization.public int compareTo(Object o)
BelongingImpl
compareTo in interface ComparablecompareTo in class BelongingImplo - the Object to be compared.
public void enter(Transition trans)
enter in interface Statepublic void exit(Transition trans)
exit in interface Statepublic void error(Transition trans)
error in interface Statepublic void setEnterPolicy(TransitionPolicy policy)
setEnterPolicy in interface Statepublic TransitionPolicy getEnterPolicy()
getEnterPolicy in interface Statepublic void setExitPolicy(TransitionPolicy policy)
setExitPolicy in interface Statepublic TransitionPolicy getExitPolicy()
getExitPolicy in interface Statepublic void setErrorPolicy(TransitionPolicy policy)
setErrorPolicy in interface Statepublic TransitionPolicy getErrorPolicy()
getErrorPolicy in interface State
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||