|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.werken.blissed.State
A Activity-bearing state in the process graph.
A State contains a Activity and
a sequence of one-or-more Transitions
denoting guarded exit paths.
Activity,
Transition| Method Summary | |
Transition |
addTransition(State destination,
Guard guard,
java.lang.String description)
Create a transition. |
Transition |
addTransition(State destination,
java.lang.String description)
Create a transition. |
Activity |
getActivity()
Retrieve the Activity for this state. |
java.lang.String |
getDescription()
Retrieve the description of this state. |
java.lang.String |
getName()
Retrieve the name of this state. |
java.util.List |
getTransitions()
Retrieve the live list of outbound. |
void |
removeTransition(Transition transition)
Remove an exit path transition. |
void |
setActivity(Activity activity)
Set the Activity for this state. |
void |
setDescription(java.lang.String description)
Set the description |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void removeTransition(Transition transition)
transition - The transition to remove.
public Transition addTransition(State destination,
java.lang.String description)
destination - The destination of the transition.description - Description of the transition.
public Transition addTransition(State destination,
Guard guard,
java.lang.String description)
destination - The destination of the transition.guard - Guard of the transition.description - Description of the transition.public java.util.List getTransitions()
The live list that is returned is backed
directly by the State. Changes made
to the list are reflected internally within the
State.
List of Transitions.public void setActivity(Activity activity)
Activity for this state.activity - The activity.public Activity getActivity()
Activity for this state.public java.lang.String getName()
getName in interface Namedpublic java.lang.String getDescription()
getDescription in interface Describedpublic void setDescription(java.lang.String description)
setDescription in interface Describeddescription - The description.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||