Interface NamedType


public interface NamedType

A runtime representation of a fact declaration. Every FactBuilder is eventually turned into an instance of this interface.

  • Nested Class Summary

    Nested Classes
    Modifier and Type Interface Description
    static interface  NamedType.Resolver  
  • Method Summary

    Modifier and Type Method Description
    String getName()
    Returns name of a fact declaration, for example "$customer"
    Type<?> getType()
    Method returns engine's internal Type of a fact declaration
  • Method Details

    • getType

      Type<?> getType()

      Method returns engine's internal Type of a fact declaration

      Returns:
      runtime type of a fact declaration
    • getName

      String getName()

      Returns name of a fact declaration, for example "$customer"

      Returns:
      name of a fact declaration