public class Fact<T>
extends java.lang.Object
Rule.
Facts are not immutable; they may be changed by rules and used to derive a result state.| Constructor and Description |
|---|
Fact(java.lang.String name,
T value) |
Fact(T obj) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The method getName() gets the name of the Fact.
|
T |
getValue()
The method getValue() gets the value of the Fact.
|
void |
setName(java.lang.String name)
The method setName() sets the name of the Fact.
|
void |
setValue(T value)
The method setValue() sets the value of the Fact.
|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of the Factpublic T getValue()
public void setValue(T value)
value - the value of the Fact