public class PlanInstance extends MoiseElement
Modifier and Type | Field and Description |
---|---|
protected java.util.List<GoalInstance> |
goals |
protected GoalInstance |
head |
protected SchemeInstance |
sch |
protected Plan |
spec |
debug
Constructor and Description |
---|
PlanInstance(Plan p) |
Modifier and Type | Method and Description |
---|---|
java.util.List<GoalInstance> |
getGoals() |
GoalInstance |
getHead() |
GoalInstance |
getLastGoal() |
SchemeInstance |
getScheme() |
Plan |
getSpec() |
void |
setGoalInstances(SchemeInstance sch) |
java.lang.String |
toString() |
compareTo, equals, getBoolProperty, getBoolProperty, getCreationDate, getFullId, getId, getId, getOwner, getPrefix, getPrefix, getProperties, getPropertiesAsDOM, getPropertiesAsProlog, getProperty, getStrProperty, hashCode, setId, setOwner, setPrefix, setPropertiesFromDOM, setProperty
protected Plan spec
protected SchemeInstance sch
protected GoalInstance head
protected java.util.List<GoalInstance> goals
public PlanInstance(Plan p)
public Plan getSpec()
public SchemeInstance getScheme()
public GoalInstance getHead()
public void setGoalInstances(SchemeInstance sch) throws MoiseConsistencyException
MoiseConsistencyException
public java.util.List<GoalInstance> getGoals()
public GoalInstance getLastGoal()
public java.lang.String toString()
toString
in class MoiseElement