Interface PlanBody

All Superinterfaces:
Cloneable, Comparable<Term>, Serializable, Term, ToDOM, ToJson
All Known Implementing Classes:
PlanBodyImpl

public interface PlanBody extends Term
Interface for elements of a plans's body.
  • Method Details

    • getBodyType

      PlanBody.BodyType getBodyType()
    • getBodyTerm

      Term getBodyTerm()
    • getBodyNext

      PlanBody getBodyNext()
    • getHead

      PlanBody getHead()
    • isEmptyBody

      boolean isEmptyBody()
    • getPlanSize

      int getPlanSize()
    • setBodyType

      void setBodyType(PlanBody.BodyType bt)
    • setBodyTerm

      void setBodyTerm(Term t)
    • setBodyNext

      void setBodyNext(PlanBody bl)
    • getLastBody

      PlanBody getLastBody()
    • isBodyTerm

      boolean isBodyTerm()
    • setAsBodyTerm

      void setAsBodyTerm(boolean b)
    • add

      boolean add(PlanBody bl)
    • add

      boolean add(int index, PlanBody bl)
    • removeBody

      Term removeBody(int index)
    • clonePB

      PlanBody clonePB()
      clone the plan body