Class BeliefInfo

java.lang.Object
jadex.bdi.runtime.impl.AbstractBDIInfo
jadex.bdi.runtime.impl.BeliefInfo

public class BeliefInfo extends AbstractBDIInfo
Transferable information about a belief.
  • Field Details

    • kind

      protected String kind
      The belief kind (belief or beliefset).
    • valuetype

      protected String valuetype
      The belief value type (e.g. int).
    • value

      protected Object value
      The value(s) (string for belief or array of strings for belief set).
  • Constructor Details

    • BeliefInfo

      public BeliefInfo()
      Create a new belief info.
  • Method Details

    • getKind

      public String getKind()
      Return the kind.
    • setKind

      public BeliefInfo setKind(String kind)
      Set the kind.
    • getValueType

      public String getValueType()
      Return the value type.
    • setValueType

      public BeliefInfo setValueType(String valuetype)
      Set the value type.
    • getValue

      public Object getValue()
      Return the value. (string for belief or array of strings for belief set)
    • setValue

      public BeliefInfo setValue(Object value)
      Set the value. (string for belief or array of strings for belief set)
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object
    • createBeliefInfo

      public static BeliefInfo createBeliefInfo(MBelief mbel, ClassLoader cl)
      Create an info object for a belief.