org.apache.shale.dialog.impl
Class TransitionImpl

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

public class TransitionImpl
extends Object
implements Transition

TransitionImpl is a basic implementation of Transition.

$Id: TransitionImpl.java 419431 2006-07-06 04:38:39Z wsmoak $


Field Summary
protected  Log log
          Log instance for this instance.
 
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
 

Field Detail

log

protected final Log log

Log instance for this instance.

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

getTarget

public String getTarget()

Return the target State identifier for this Transition.

Specified by:
getTarget in interface Transition

toString

public String toString()

Render a printable version of this instance.

Overrides:
toString in class Object

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-2006 Apache Software Foundation. All Rights Reserved.