|
© 2005 BEA Systems, Inc. | |||||||||
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.TransitionImpl
A named transition from one state
to
another state. The name is generally considered to represent an event. This class is
used by the Businsess Smart Workflow generator.
Transition
,
TransitionHome
,
Serialized FormField Summary | |
State |
endState
The targeted state for this transition. |
String |
name
The event that triggers this transition. |
State |
startState
The begining state for this transition. |
Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
Constructor Summary | |
TransitionImpl()
|
Method Summary | |
int |
compareTo(Object o)
Compares a given object with this Belonging. |
State |
getEndState()
Get the value of endState |
String |
getName()
Get the value of name |
State |
getStartState()
Get the value of startState |
String |
interfaceName()
Returns the unqualified name of the interface as specified in the UML model. |
void |
setByValue(Belonging value)
Intializes the Belonging based upon a supplied Belonging . |
void |
setEndState(State endState)
Set the value of endState |
void |
setName(String name)
Set the value of name |
void |
setStartState(State startState)
Set the value of startState |
Belonging |
value()
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 State endState
endState
[Transition] <*>------> [com.beasys.commerce.foundation.State
]
public String name
name
[Transition] <*>------> [java.lang.String
]
public State startState
startState
[Transition] <*>------> [com.beasys.commerce.foundation.State
]
Constructor Detail |
public TransitionImpl()
Method Detail |
public int compareTo(Object o)
BelongingImpl
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- the Object to be compared.
public State getEndState()
getEndState
in interface Transition
public String getName()
getName
in interface Transition
public State getStartState()
getStartState
in interface Transition
public String interfaceName()
Belonging
interfaceName
in interface Belonging
public void setByValue(Belonging value)
Belonging
Belonging
based upon a supplied Belonging
.
setByValue
in interface Belonging
setByValue
in class BelongingImpl
value
- The Belonging
to use for initialization.public void setEndState(State endState)
setEndState
in interface Transition
endState
- endState to be addedpublic void setName(String name)
setName
in interface Transition
name
- name to be addedpublic void setStartState(State startState)
setStartState
in interface Transition
startState
- startState to be addedpublic Belonging value()
Belonging
value
in interface Belonging
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |