edu.cmu.cs.coral.icf.plan_based.planners
Class PlannerObjectType

java.lang.Object
  |
  +--edu.cmu.cs.coral.icf.plan_based.planners.PlannerObjectType

public class PlannerObjectType
extends java.lang.Object

Represents a type of object in the world.

Since:
ICF 0.0
Version:
$Id$

Field Summary
private  java.util.AbstractSet subTypes
          The set of sub types of this type.
private  PlannerObjectType superType
          The super type of this type.
private  java.lang.String typeName
          The name of this type.
 
Constructor Summary
PlannerObjectType()
          Construct an empty object type.
PlannerObjectType(java.lang.String type_name)
          Construct an object type with the specified name.
 
Method Summary
 java.util.AbstractSet accessSubTypes()
          Access the set of sub types of this type.
 PlannerObjectType getSuperType()
          Gets the super type of this type.
 java.lang.String getTypeName()
          Gets the name of this type.
 void setSuperType(PlannerObjectType super_type)
          Sets the super type for this type.
 void setTypeName(java.lang.String type_name)
          Sets the name of this type.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

superType

private PlannerObjectType superType
The super type of this type.
Since:
ICF 0.0

subTypes

private java.util.AbstractSet subTypes
The set of sub types of this type.
Since:
ICF 0.0

typeName

private java.lang.String typeName
The name of this type.
Since:
ICF 0.0
Constructor Detail

PlannerObjectType

public PlannerObjectType()
Construct an empty object type.
Since:
ICF 0.0

PlannerObjectType

public PlannerObjectType(java.lang.String type_name)
Construct an object type with the specified name.
Parameters:
type_name -  
Since:
ICF 0.0
Method Detail

getSuperType

public PlannerObjectType getSuperType()
Gets the super type of this type. All objects of this type are also objects of the super type.
Returns:
the super type
Since:
ICF 0.0

setSuperType

public void setSuperType(PlannerObjectType super_type)
Sets the super type for this type.
Parameters:
super_type - the new super type for this type
Since:
ICF 0.0

accessSubTypes

public java.util.AbstractSet accessSubTypes()
Access the set of sub types of this type. This set may be directly modified.
Since:
ICF 0.0

getTypeName

public java.lang.String getTypeName()
Gets the name of this type.
Returns:
the name of the type
Since:
ICF 0.0

setTypeName

public void setTypeName(java.lang.String type_name)
Sets the name of this type.
Parameters:
type_name - the new name for this type
Since:
ICF 0.0