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 long
getFactId()
Return the unique ID for the factFactTemplate
getFactTemplate()
Return the Deftemplate for the factObject
getFieldValue(int index)
Return the value at the given field indexObject
getFieldValue(String name)
void
setFieldValue(int index, Object value)
void
setFieldValue(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:
-
-