Package org.drools.core.facttemplates
Interface Fact
-
- All Known Implementing Classes:
FactImpl
public interface Fact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetFactId()Return the unique ID for the factFactTemplategetFactTemplate()Return the Deftemplate for the factObjectgetFieldValue(int index)Return the value at the given field indexObjectgetFieldValue(String name)voidsetFieldValue(int index, Object value)voidsetFieldValue(String name, Object value)
-
-
-
Method Detail
-
getFieldValue
Object getFieldValue(int index)
Return the value at the given field index- Parameters:
id-- Returns:
-
setFieldValue
void setFieldValue(int index, Object value)
-
getFactId
long getFactId()
Return the unique ID for the fact- Returns:
-
getFactTemplate
FactTemplate getFactTemplate()
Return the Deftemplate for the fact- Returns:
-
-