Package org.evrete.api
Interface FactHandle
-
- All Superinterfaces:
Serializable
public interface FactHandle extends Serializable
FactHandle instances uniquely identify working instances in rule sessions. To ensure that, FactHandle implementations are expected to be serializable and have both hashCode() end equals() methods implemented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetTypeId()Returns the id of theTypewhich inserted instance was initially associated with.
-
-
-
Method Detail
-
getTypeId
int getTypeId()
Returns the id of the
Typewhich inserted instance was initially associated with.- Returns:
- the id of the associated instance type
- See Also:
Type.getId()
-
-