Class AbstractBDIInfo

java.lang.Object
jadex.bdi.runtime.impl.AbstractBDIInfo
Direct Known Subclasses:
BeliefInfo, GoalInfo, PlanInfo

public class AbstractBDIInfo extends Object
Base class for transferable information about BDI elements.
  • Field Details

    • id

      protected String id
      The belief id.
    • type

      protected String type
      The element type.
    • parentid

      protected String parentid
      The parent element id.
  • Constructor Details

    • AbstractBDIInfo

      public AbstractBDIInfo()
      Create a new info.
  • Method Details

    • getId

      public String getId()
      Return the id.
    • setId

      public AbstractBDIInfo setId(String id)
      Set the id.
    • getType

      public String getType()
      Return the type.
    • setType

      public AbstractBDIInfo setType(String type)
      Set the type.
    • getParentId

      public String getParentId()
      Returns:
      the parentid
    • setParentId

      public AbstractBDIInfo setParentId(String parentid)
      Parameters:
      parentid - the parentid to set
    • equals

      public boolean equals(Object obj)
      Test if two objects are equal.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Get the hashcode
      Overrides:
      hashCode in class Object