teamSpace.structure
Class TSTMSTNode

java.lang.Object
  extended byteamSpace.structure.TSTMSTNode
Direct Known Subclasses:
TSAction, TSPSM

public class TSTMSTNode
extends java.lang.Object

The TSTMSTNode class represents a executable node (action or psm) which is defined in the TMST (task structure tree) kept by the PlanLibrary class. The class will only serve as a keeper of information about a node.


Constructor Summary
TSTMSTNode(java.lang.String name, java.lang.String input, java.lang.String executor)
          The constructor instantiate the name, input and executor of the node.
 
Method Summary
 java.lang.String getExecutor()
          The method returns the executor of the node.
 java.lang.String getInput()
          The method returns the input of the node.
 java.lang.String getName()
          The method returns the name of the node.
 java.lang.String getOutput()
          The method returns the output of the node.
 void setOutput(java.lang.String output)
          The method sets the output of the node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSTMSTNode

public TSTMSTNode(java.lang.String name,
                  java.lang.String input,
                  java.lang.String executor)
The constructor instantiate the name, input and executor of the node.

Parameters:
name - The name of the node
input - The input of the node
executor - The executor of the node
Method Detail

getName

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

Returns:
The name of the node

getInput

public java.lang.String getInput()
The method returns the input of the node.

Returns:
The input of the node

getExecutor

public java.lang.String getExecutor()
The method returns the executor of the node.

Returns:
The executor of the node

setOutput

public void setOutput(java.lang.String output)
The method sets the output of the node.

Parameters:
output - - The output of the node

getOutput

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

Returns:
The output of the node