jason.asSemantics
Class IntendedMeans
java.lang.Object
jason.asSemantics.IntendedMeans
- All Implemented Interfaces:
- java.io.Serializable
public class IntendedMeans
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
unif
protected Unifier unif
planBody
protected PlanBody planBody
plan
protected Plan plan
IntendedMeans
public IntendedMeans(Option opt,
Trigger te)
removeCurrentStep
public Term removeCurrentStep()
- removes the current action of the IM and returns the term of the body
getCurrentStep
public PlanBody getCurrentStep()
insertAsNextStep
public PlanBody insertAsNextStep(PlanBody pb2add)
getPlan
public Plan getPlan()
setUnif
public void setUnif(Unifier unif)
getUnif
public Unifier getUnif()
getTrigger
public Trigger getTrigger()
- gets the trigger event that caused the creation of this IM
setTrigger
public void setTrigger(Trigger tr)
isAtomic
public boolean isAtomic()
isFinished
public boolean isFinished()
isGoalAdd
public boolean isGoalAdd()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getAsTerm
public Term getAsTerm()
getAsDOM
public org.w3c.dom.Element getAsDOM(org.w3c.dom.Document document)
- get as XML