net.dpml.state
Interface Transition

All Superinterfaces:
Action

public interface Transition
extends Action

Interface describing a transition that may be performed under an activate state.

Version:
2.1.0
Author:
Digital Product Management Library

Method Summary
 Operation getOperation()
          Return an operation associated with the transition.
 State getState()
          Return the state that this transition is a part of.
 String getTargetName()
          Return the transition target state name
 void setState(State state)
          Set the state that this transition is a part of.
 
Methods inherited from interface net.dpml.state.Action
getName
 

Method Detail

setState

void setState(State state)
Set the state that this transition is a part of.

Parameters:
state - the owning state

getState

State getState()
Return the state that this transition is a part of.

Returns:
the owning state

getTargetName

String getTargetName()
Return the transition target state name

Returns:
the target state name

getOperation

Operation getOperation()
Return an operation associated with the transition.

Returns:
a possibly null operation