Transition Interface

com.beasys.commerce.foundation
Transition Interface

public interface Transition

    extends Belonging

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. The begining state for this transition.

                  startState
 [Transition] <*>------> [State] 

 
The targeted state for this transition.
                  endState
 [Transition] <*>------> [State] 

 
The event that triggers this transition.
                  name
 [Transition] <*>------> [String] 

 

Related Topics

TransitionHome
TransitionImpl


All Known Implementing Classes
TransitionImpl
All Superinterfaces
Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable

Method Summary

public State
getEndState()
Get the value of endState
public String
getName()
Get the value of name
public State
getStartState()
Get the value of startState
public void
setEndState(State endState)
Set the value of endState
public void
setName(String name)
Set the value of name
public void
setStartState(State startState)
Set the value of startState
 
Methods from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods from interface java.lang.Comparable
compareTo
   

Method Detail

getEndState() Method

public State getEndState()
Get the value of endState

Returns

endState.

getName() Method

public String getName()
Get the value of name

Returns

name.

getStartState() Method

public State getStartState()
Get the value of startState

Returns

startState.

setEndState(State) Method

public void setEndState(State endState)
Set the value of endState

Parameters

endState
endState to be added

setName(String) Method

public void setName(String name)
Set the value of name

Parameters

name
name to be added

setStartState(State) Method

public void setStartState(State startState)
Set the value of startState

Parameters

startState
startState to be added