Interface NamedType


  • public interface NamedType

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

    • Method Detail

      • getType

        Type<?> getType()

        Method returns engine's internal Type of a fact declaration

        Returns:
        runtime type of fact declaration
      • getName

        String getName()

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

        Returns:
        name of a fact declaration
      • sameAs

        default boolean sameAs​(NamedType other)