rulebook-core/src/main/java/com/deliveredtechnologies/rulebook/FactMap.java
public void setValue(String name, T value) {
    NameValueReferable<T> fact = _facts.get(name);
    if (fact == null) {
      fact = new Fact<>(name, value);
      _facts.put(name, fact);
      return;
    }
    fact.setValue(value);
  }
public void setValue(String name, T value) {
    NameValueReferable<T> fact = _facts.get(name);
    if (fact == null) {
      fact = new Fact<>(name, value);
      _facts.put(name, fact);
      return;
    }
    fact.setValue(value);
  }
The method setValue sets the value of the Fact by its name.<br/>
If no Fact exists with the associated name, a new fact is created with the specified name and value.<br/>
@param name  the name of the Fact
@param value the value object of the Fact