edu.cmu.cs.coral.icf
Class ActionSchema

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.ActionSchema
Direct Known Subclasses:
PlannerActionSchema

public class ActionSchema
extends java.lang.Object

Represents a generic action of a particular kind. The kind of action is specified by the name of the ActionSchema. The parameters of the ActionSchema allow the generic action to be tailored to a specific situation.

Since:
ICF 0.0
Version:
$Id$

Field Summary
(package private)  java.lang.String act_name
          The name of the action.
(package private)  java.util.Vector param_names
          The parameters of the action.
 
Constructor Summary
ActionSchema(java.lang.String action_name, java.util.Vector param_names)
          Make a new ActionSchema
 
Method Summary
 java.lang.String getActionName()
          Gets the name of the ActionSchema.
 java.util.Vector getActionVariables()
          Gets the names of the parameters for this ActionSchema
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

act_name

java.lang.String act_name
The name of the action.
Since:
ICF 0.0

param_names

java.util.Vector param_names
The parameters of the action.
Since:
ICF 0.0
Constructor Detail

ActionSchema

public ActionSchema(java.lang.String action_name,
                    java.util.Vector param_names)
Make a new ActionSchema
Parameters:
action_name - the name of the action
param_names - the names of the variables/parameters of the action, the Vector must not be modified after this call
Since:
ICF 0.0
Method Detail

getActionName

public java.lang.String getActionName()
Gets the name of the ActionSchema.
Returns:
the ActionSchema's name
Since:
ICF 0.0

getActionVariables

public java.util.Vector getActionVariables()
Gets the names of the parameters for this ActionSchema
Returns:
a vector containing the names of the parameters for this ActionSchema in order
Since:
ICF 0.0