Package jadex.bdi.runtime.impl
Class BeliefInfo
java.lang.Object
jadex.bdi.runtime.impl.AbstractBDIInfo
jadex.bdi.runtime.impl.BeliefInfo
Transferable information about a belief.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The belief kind (belief or beliefset).protected Object
The value(s) (string for belief or array of strings for belief set).protected String
The belief value type (e.g.Fields inherited from class jadex.bdi.runtime.impl.AbstractBDIInfo
id, parentid, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BeliefInfo
createBeliefInfo
(MBelief mbel, ClassLoader cl) Create an info object for a belief.getKind()
Return the kind.getValue()
Return the value.Return the value type.Set the kind.Set the value.setValueType
(String valuetype) Set the value type.toString()
Get the string representation.Methods inherited from class jadex.bdi.runtime.impl.AbstractBDIInfo
equals, getId, getParentId, getType, hashCode, setId, setParentId, setType
-
Field Details
-
kind
The belief kind (belief or beliefset). -
valuetype
The belief value type (e.g. int). -
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
Return the kind. -
setKind
Set the kind. -
getValueType
Return the value type. -
setValueType
Set the value type. -
getValue
Return the value. (string for belief or array of strings for belief set) -
setValue
Set the value. (string for belief or array of strings for belief set) -
toString
Get the string representation. -
createBeliefInfo
Create an info object for a belief.
-