Package org.drools.core.rule
Class DynamicFact
- java.lang.Object
-
- org.drools.core.rule.DynamicFact
-
-
Constructor Summary
Constructors Constructor Description DynamicFact(Object bean, org.kie.api.definition.type.FactType typeDef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object arg0)SetentrySet()Objectget(Object fieldName)ObjectgetFactObject()Return the underlying fact itself.booleanisEmpty()Set<String>keySet()Objectput(String key, Object value)voidputAll(Map arg0)Objectremove(Object arg0)intsize()Collectionvalues()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
DynamicFact
public DynamicFact(Object bean, org.kie.api.definition.type.FactType typeDef)
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object arg0)
- Specified by:
containsValuein interfaceMap<String,Object>
-
values
public Collection values()
-
getFactObject
public Object getFactObject()
Return the underlying fact itself. This is what you asset into the session/engine.
-
-