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 Detail

      • getTypeId

        int getTypeId()

        Returns the id of the Type which inserted instance was initially associated with.

        Returns:
        the id of the associated instance type
        See Also:
        Type.getId()