public class IntendedMeans
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected Plan |
plan |
protected PlanBody |
planBody |
protected Unifier |
renamedVars |
protected Unifier |
unif |
Constructor and Description |
---|
IntendedMeans(Option opt,
Trigger te) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
org.w3c.dom.Element |
getAsDOM(org.w3c.dom.Document document)
get as XML
|
Term |
getAsTerm() |
PlanBody |
getCurrentStep() |
Plan |
getPlan() |
Trigger |
getTrigger()
gets the trigger event that caused the creation of this IM
|
Unifier |
getUnif() |
PlanBody |
insertAsNextStep(PlanBody pb2add) |
boolean |
isAtomic() |
boolean |
isFinished() |
boolean |
isGoalAdd() |
Term |
removeCurrentStep()
removes the current action of the IM and returns the term of the body
|
void |
setTrigger(Trigger tr) |
void |
setUnif(Unifier unif) |
java.lang.String |
toString() |
protected Unifier unif
protected PlanBody planBody
protected Plan plan
protected Unifier renamedVars
public Term removeCurrentStep()
public PlanBody getCurrentStep()
public Plan getPlan()
public void setUnif(Unifier unif)
public Unifier getUnif()
public Trigger getTrigger()
public void setTrigger(Trigger tr)
public boolean isAtomic()
public boolean isFinished()
public boolean isGoalAdd()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public Term getAsTerm()
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document)