|
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.TransitionImpl
A named transition from one com.beasys.commerce.foundation.State 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. |
java.lang.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(java.lang.Object o)
Compares a given object with this Belonging. |
State |
getEndState()
Get the value of endState |
java.lang.String |
getName()
Get the value of name |
State |
getStartState()
Get the value of startState |
java.lang.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(java.lang.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 startState
startState
[Transition] <*>------> [com.beasys.commerce.foundation.State
]
public State endState
endState
[Transition] <*>------> [com.beasys.commerce.foundation.State
]
public java.lang.String name
name
[Transition] <*>------> [java.lang.String
]
Constructor Detail |
public TransitionImpl()
Method Detail |
public State getStartState()
getStartState
in interface Transition
public void setStartState(State startState)
setStartState
in interface Transition
startState
- startState to be addedpublic State getEndState()
getEndState
in interface Transition
public void setEndState(State endState)
setEndState
in interface Transition
endState
- endState to be addedpublic java.lang.String getName()
getName
in interface Transition
public void setName(java.lang.String name)
setName
in interface Transition
name
- name to be addedpublic Belonging value()
Belonging
value
in interface Belonging
com.beasys.commerce.foundation.Belonging
public java.lang.String interfaceName()
Belonging
interfaceName
in interface Belonging
com.beasys.commerce.foundation.Belonging
public void setByValue(Belonging value)
Belonging
Belonging
based upon a supplied Belonging
.setByValue
in interface Belonging
setByValue
in class BelongingImpl
com.beasys.commerce.foundation.Belonging
belonging
- The Belonging
to use for initialization.public int compareTo(java.lang.Object o)
BelongingImpl
compareTo
in interface java.lang.Comparable
compareTo
in class BelongingImpl
com.beasys.commerce.foundation.BelongingImpl
o
- the Object to be compared.java.lang.ClassCastException
- if the specified object is not of the same
type as this Belonging.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |