public final class Facts extends Object implements ModelObjectComplete, Serializable
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
Facts.Builder
Builder for a
Facts parameter object |
| Modifier and Type | Field and Description |
|---|---|
static Facts |
EMPTY_FACTS
empty facts object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
All "Complete" model object's should adhere to the
ModelObjectComplete.equals(Object) contract. |
Map<Term,Object> |
getFactMap() |
int |
hashCode()
All "Complete" model object's should adhere to the
ModelObjectComplete.hashCode() contract. |
String |
toString()
This will return a proper string representation of the Model Object.
|
public static final Facts EMPTY_FACTS
public Map<Term,Object> getFactMap()
public boolean equals(Object o)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.equals in interface ModelObjectCompleteequals in class Objecto - to object to compare for equalitypublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.hashCode in interface ModelObjectCompletehashCode in class Objectpublic String toString()
ModelObjectBasictoString in interface ModelObjectBasictoString in class ObjectCopyright © 2005–2014 The Kuali Foundation. All rights reserved.