objectgen.testobjective
Class TestObjective

java.lang.Object
  extended byobjectgen.testobjective.TestObjective
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class TestObjective
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

A test objective is also an activity diagram

See Also:
Serialized Form

Constructor Summary
TestObjective()
          Creates a new instance of TestObjective
 
Method Summary
 java.util.Iterator activitiesIterator()
           
 void addActivity(Activity a)
           
 java.lang.Object clone()
          Clone
 boolean contains(Activity a)
          Returns true if the test objective contains the indicated activity
 Decision getFirstDecision(Decision d)
          Returns the first occurence of the decision d in the test objective
 Decision getLastDecision()
          Returns the last desicion stored in the objective
 java.lang.String toString()
          Testing purpouse
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestObjective

public TestObjective()
Creates a new instance of TestObjective

Method Detail

contains

public boolean contains(Activity a)
Returns true if the test objective contains the indicated activity


getFirstDecision

public Decision getFirstDecision(Decision d)
Returns the first occurence of the decision d in the test objective


getLastDecision

public Decision getLastDecision()
Returns the last desicion stored in the objective


addActivity

public void addActivity(Activity a)

clone

public java.lang.Object clone()
Clone


toString

public java.lang.String toString()
Testing purpouse


activitiesIterator

public java.util.Iterator activitiesIterator()