com.werken.blissed
Class Transition

java.lang.Object
  |
  +--com.werken.blissed.Transition
All Implemented Interfaces:
Described, org.apache.commons.graph.Edge

public class Transition
extends java.lang.Object
implements Described, org.apache.commons.graph.Edge

An arc between two States.

Author:
bob mcwhirter
See Also:
State

Method Summary
 java.lang.String getDescription()
          Retrieve the description of this transition.
 State getDestination()
          Retrieve the destination of this transition.
 Guard getGuard()
          Retrieve the guard of this transition.
 State getOrigin()
          Retrieve the origin of this transition.
 void setDescription(java.lang.String description)
          Set the description
 void setGuard(Guard guard)
          Set the guard of this transition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOrigin

public State getOrigin()
Retrieve the origin of this transition.
Returns:
The origin State.

getDestination

public State getDestination()
Retrieve the destination of this transition.
Returns:
The destination State.

setGuard

public void setGuard(Guard guard)
Set the guard of this transition.
Parameters:
guard - The guard.

getGuard

public Guard getGuard()
Retrieve the guard of this transition.
Returns:
The guard.

getDescription

public java.lang.String getDescription()
Retrieve the description of this transition.
Specified by:
getDescription in interface Described
Returns:
The description of this transition.

setDescription

public void setDescription(java.lang.String description)
Set the description
Specified by:
setDescription in interface Described
Parameters:
description - The description.


Copyright © 2002-2002 The Werken Company. All Rights Reserved.