|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.api.engine.Facts
public final class Facts
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.
| Nested Class Summary | |
|---|---|
static class |
Facts.Builder
Builder for a Facts parameter object |
| Field Summary | |
|---|---|
static Facts |
EMPTY_FACTS
empty facts object |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Facts EMPTY_FACTS
| Method Detail |
|---|
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 equality
public int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||