public interface IBeliefSet extends IElement
Modifier and Type | Method and Description |
---|---|
<T> void |
addBeliefSetListener(IBeliefListener<T> listener)
Add a belief set listener.
|
void |
addFact(java.lang.Object fact)
Add a fact to a belief.
|
void |
addFacts(java.lang.Object[] values)
Add facts to a parameter set.
|
boolean |
containsFact(java.lang.Object fact)
Test if a fact is contained in a belief.
|
java.lang.Class<?> |
getClazz()
Get the value class.
|
java.lang.Object |
getFact(java.lang.Object oldval)
Get a value equal to the given object.
|
java.lang.Object[] |
getFacts()
Get the facts of a beliefset.
|
void |
modified(java.lang.Object fact)
Indicate that a fact of this belief set was modified.
|
<T> void |
removeBeliefSetListener(IBeliefListener<T> listener)
Remove a belief set listener.
|
void |
removeFact(java.lang.Object fact)
Remove a fact to a belief.
|
void |
removeFacts()
Remove all facts from a belief.
|
int |
size()
Get the number of values currently
contained in this set.
|
getModelElement
void addFact(java.lang.Object fact)
fact
- The new fact.void removeFact(java.lang.Object fact)
fact
- The new fact.void addFacts(java.lang.Object[] values)
void removeFacts()
java.lang.Object getFact(java.lang.Object oldval)
oldval
- The old value.boolean containsFact(java.lang.Object fact)
fact
- The fact to test.java.lang.Object[] getFacts()
int size()
void modified(java.lang.Object fact)
java.lang.Class<?> getClazz()
<T> void addBeliefSetListener(IBeliefListener<T> listener)
listener
- The belief set listener.<T> void removeBeliefSetListener(IBeliefListener<T> listener)
listener
- The belief set listener.