objectgen.testobjective
Class Path

java.lang.Object
  extended byobjectgen.testobjective.Path
All Implemented Interfaces:
java.lang.Cloneable

public class Path
extends java.lang.Object
implements java.lang.Cloneable

This class store a path through an activity graph, like other activity graph


Field Summary
protected  Activity lastActivity
          Last activity added to the path
protected  Activity startActivity
          Startg activity
 
Constructor Summary
Path()
          Creates a new instance of Path
 
Method Summary
 void addActivity(Activity a)
          Add a new activity to the path
 void addAlternative(Alternative a)
           
 java.lang.Object clone()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

startActivity

protected Activity startActivity
Startg activity


lastActivity

protected Activity lastActivity
Last activity added to the path

Constructor Detail

Path

public Path()
Creates a new instance of Path

Method Detail

addActivity

public void addActivity(Activity a)
Add a new activity to the path


addAlternative

public void addAlternative(Alternative a)

toString

public java.lang.String toString()

clone

public java.lang.Object clone()