public interface IBelief extends IElement
Modifier and Type | Method and Description |
---|---|
<T> void |
addBeliefListener(IBeliefListener<T> listener)
Add a belief listener.
|
java.lang.Class<?> |
getClazz()
Get the value class.
|
java.lang.Object |
getFact()
Get the fact of a belief.
|
void |
modified()
Indicate that the fact of this belief was modified.
|
<T> void |
removeBeliefListener(IBeliefListener<T> listener)
Remove a belief listener.
|
boolean |
setFact(java.lang.Object fact)
Set a fact of a belief.
|
getModelElement
boolean setFact(java.lang.Object fact)
fact
- The new fact.java.lang.Object getFact()
void modified()
java.lang.Class<?> getClazz()
<T> void addBeliefListener(IBeliefListener<T> listener)
listener
- The belief listener.<T> void removeBeliefListener(IBeliefListener<T> listener)
listener
- The belief listener.