org.apache.shale.dialog.basic.config
Class TransitionImpl

java.lang.Object
  extended by org.apache.shale.dialog.basic.config.TransitionImpl
All Implemented Interfaces:
Transition

public final class TransitionImpl
extends Object
implements Transition

TransitionImpl is a basic implementation of Transition.

Since:
1.0.4

Constructor Summary
TransitionImpl()
           
 
Method Summary
 String getOutcome()
          

Return the logical outcome used to select this Transition.

 String getTarget()
          

Return the target State identifier for this Transition.

 void setOutcome(String outcome)
          Set the logical outcome used to select this Transition.
 void setTarget(String target)
          Set the target State identifier for this Transition.
 String toString()
          Render a printable version of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransitionImpl

public TransitionImpl()
Method Detail

getOutcome

public String getOutcome()

Return the logical outcome used to select this Transition.

Specified by:
getOutcome in interface Transition
Returns:
The logical outcome that causes this Transition to be followed

getTarget

public String getTarget()

Return the target State identifier for this Transition.

Specified by:
getTarget in interface Transition
Returns:
The identifier of the target State

toString

public String toString()

Render a printable version of this instance.

Overrides:
toString in class Object
Returns:
The printable version of this instance

setOutcome

public void setOutcome(String outcome)

Set the logical outcome used to select this Transition.

Parameters:
outcome - New logical outcome

setTarget

public void setTarget(String target)

Set the target State identifier for this Transition.

Parameters:
target - New target identifier


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.