Package org.kie.api.runtime.rule

# Interface FactHandle

All Known Subinterfaces:
  `EventHandle`

public interface FactHandle
An handle to a fact inserted into the working memory

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static enum`
  `FactHandle.State`
  The way how the fact to which this FactHandle was assigned has been inserted into the working memory

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<K> K`
  `as(Class<K> klass)`
  `long`
  `getId()`
  `Object`
  `getObject()`
  `long`
  `getRecency()`
  `boolean`
  `isEvent()`
  `boolean`
  `isNegated()`
  `boolean`
  `isValid()`
  `String`
  `toExternalForm()`

- ## Method Details

  - ### getObject

    Object getObject()

  - ### isNegated

    boolean isNegated()

  - ### isEvent

    boolean isEvent()

  - ### getId

    long getId()

  - ### getRecency

    long getRecency()

  - ### as

    <K> K as(Class<K> klass) throws ClassCastException
    Throws:
      `ClassCastException`

  - ### isValid

    boolean isValid()

  - ### toExternalForm

    String toExternalForm()