public class TransientBelief<T> extends Belief<T> implements java.io.Serializable, jade.content.Concept
Belief and represents a transient belief,
which is not persisted in a permanent memory.| Constructor and Description |
|---|
TransientBelief(java.lang.String name)
Initializes a belief with its name.
|
TransientBelief(java.lang.String name,
T value)
Initializes a belief with its name and a initial value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Gets the current value of the Belief.
|
void |
setValue(T value)
Sets a new value to the belief.
|
addBeliefBase, equals, getBeliefBases, getName, hashCode, removeBeliefBase, toStringgetMetadata, getMetadata, hasMetadata, putMetadata, removeMetadatapublic TransientBelief(java.lang.String name)
name - the belief name.public TransientBelief(java.lang.String name,
T value)
name - the belief name.value - the initial belief value.