Package org.kuali.rice.krms.api.engine
Class Facts
java.lang.Object
org.kuali.rice.krms.api.engine.Facts
- All Implemented Interfaces:
Serializable,ModelObjectBasic,ModelObjectComplete
Parameter object for the Engine used to pass in mappings from Term to value
(aka facts). In rule parlance, a fact is a concrete value of a term. Intuitively this relationship is one of
definition and instance, similar to a parameter definition (e.g. int count) for a function (or method) in a
programming language and a parameter value (e.g. 5).
Facts is immutable, and has a private constructor. Use the inner Facts.Builder class to construct.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
-
Field Details
-
EMPTY_FACTS
empty facts object
-
-
Method Details
-
getFactMap
- Returns:
- the Map of Terms to fact values. May be empty, will never be null. The returned map is unmodifiable.
-
equals
- Specified by:
equalsin interfaceModelObjectComplete- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceModelObjectComplete- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceModelObjectBasic- Overrides:
toStringin classObject
-