|
PerfExplorer 2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectFactWrapper
public class FactWrapper
This class is used as a simple wrapper to create simple facts.
For more complex fact objects, implement the SelfAsserting interface.
SelfAsserting| Constructor Summary | |
|---|---|
FactWrapper(String factName,
String factType,
Object factData)
Constructor method. |
|
| Method Summary | |
|---|---|
Object |
getFactData()
Return the object stored in the FactWrapper object. |
FactHandle |
getFactHandle()
Return the handle of the fact. |
String |
getFactName()
Return the name of the fact. |
String |
getFactType()
Return the type of the fact. |
void |
setFactData(Object factData)
Set the object in the FactWrapper. |
void |
setFactHandle(FactHandle handle)
Set the handle of the fact. |
void |
setFactName(String factName)
Set the name of the Fact. |
void |
setFactType(String factType)
Set the type of the fact. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FactWrapper(String factName,
String factType,
Object factData)
factName - The name of the factfactType - The type of the factfactData - The object that this fact wrapper will contain| Method Detail |
|---|
public Object getFactData()
setFactData(java.lang.Object)public FactHandle getFactHandle()
setFactHandle(org.drools.FactHandle)public String getFactName()
setFactName(java.lang.String)public String getFactType()
setFactType(java.lang.String)public void setFactData(Object factData)
factData - the factData to setgetFactData()public void setFactHandle(FactHandle handle)
handle - the handle to setgetFactHandle()public void setFactName(String factName)
factName - the factName to setgetFactName()public void setFactType(String factType)
factType - the factType to setgetFactType()
|
PerfExplorer 2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||