Package jadex.bdiv3x.runtime
Class RBeliefbase.RBelief
- java.lang.Object
- 
- jadex.bdiv3.runtime.impl.RElement
- 
- jadex.bdiv3x.runtime.RBeliefbase.RBelief
 
 
- 
- Enclosing class:
- RBeliefbase
 
 public class RBeliefbase.RBelief extends jadex.bdiv3.runtime.impl.RElement implements IBelief Deprecated.static: belief is evaluated once on init, afterwards set manually pull: belief is reevaluated on each read access push: reevaluates on each event and sets the new value and throws change event polling/updaterate: reevaluates in intervals and and sets the new value and throws change event
- 
- 
Field SummaryFields Modifier and Type Field Description protected EventPublisherpublisherDeprecated.The publisher.protected java.lang.ObjectvalueDeprecated.The value.
 - 
Constructor SummaryConstructors Constructor Description RBelief(MBelief modelelement, IInternalAccess agent)Deprecated.Create a new parameter.RBelief(MBelief modelelement, IInternalAccess agent, java.lang.Object value)Deprecated.Create a new parameter.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> voidaddBeliefListener(IBeliefListener<T> listener)Deprecated.Add a belief set listener.java.lang.Class<?>getClazz()Deprecated.Get the value class.java.lang.ObjectgetFact()Deprecated.Get the value of a parameter.java.lang.StringgetName()Deprecated.Get the name.voidmodified()Deprecated.Indicate that the fact of this belief was modified.<T> voidremoveBeliefListener(IBeliefListener<T> listener)Deprecated.Remove a belief set listener.booleansetFact(java.lang.Object value)Deprecated.Set a fact of a belief.- 
Methods inherited from class jadex.bdiv3.runtime.impl.RElementgetAgent, getCapability, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.bdiv3x.runtime.IElementgetModelElement
 
- 
 
- 
- 
- 
Field Detail- 
valueprotected java.lang.Object value Deprecated.The value.
 - 
publisherprotected EventPublisher publisher Deprecated.The publisher.
 
- 
 - 
Constructor Detail- 
RBeliefpublic RBelief(MBelief modelelement, IInternalAccess agent) Deprecated.Create a new parameter.- Parameters:
- modelelement- The model element.
- name- The name.
 
 - 
RBeliefpublic RBelief(MBelief modelelement, IInternalAccess agent, java.lang.Object value) Deprecated.Create a new parameter.- Parameters:
- modelelement- The model element.
- name- The name.
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Deprecated.Get the name.- Returns:
- The name
 
 - 
setFactpublic boolean setFact(java.lang.Object value) Deprecated.Set a fact of a belief. Only changes the belief, if the new value is not equal to the old value.
 - 
getFactpublic java.lang.Object getFact() Deprecated.Get the value of a parameter.
 - 
getClazzpublic java.lang.Class<?> getClazz() Deprecated.Get the value class.
 - 
modifiedpublic void modified() Deprecated.Indicate that the fact of this belief was modified. Calling this method causes an internal fact changed event that might cause dependent actions.
 - 
addBeliefListenerpublic <T> void addBeliefListener(IBeliefListener<T> listener) Deprecated.Add a belief set listener.- Specified by:
- addBeliefListenerin interface- IBelief
- Parameters:
- listener- The belief set listener.
 
 - 
removeBeliefListenerpublic <T> void removeBeliefListener(IBeliefListener<T> listener) Deprecated.Remove a belief set listener.- Specified by:
- removeBeliefListenerin interface- IBelief
- Parameters:
- listener- The belief set listener.
 
 
- 
 
-