teamSpace.structure
Class TSGoal

java.lang.Object
  extended byteamSpace.structure.TSGoal

public class TSGoal
extends java.lang.Object

The TSGoal class represents a goal whichs is defined in the TMST (task structure tree) kept by the PlanLibrary class.


Constructor Summary
TSGoal(java.lang.String name, java.lang.String output)
          The constructor instantiate the name and the output of the goal.
 
Method Summary
 java.lang.String getName()
          The method returns the name of the goal
 java.lang.String getOutput()
          The method returns the output of the goal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSGoal

public TSGoal(java.lang.String name,
              java.lang.String output)
The constructor instantiate the name and the output of the goal.

Parameters:
name - The goal name
output - The goal output
Method Detail

getName

public java.lang.String getName()
The method returns the name of the goal

Returns:
The name of the goal as a String

getOutput

public java.lang.String getOutput()
The method returns the output of the goal

Returns:
The output of the goal as a String