Package org.evrete.api
Interface NamedType
-
public interface NamedTypeA runtime representation of a fact declaration. Every
FactBuilderis eventually turned into an instance of this interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNamedType.Resolver
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetName()Returns name of a fact declaration, for example "$customer"Type<?>getType()Method returns engine's internalTypeof a fact declarationdefault booleansameAs(NamedType other)
-
-
-
Method Detail
-
getType
Type<?> getType()
Method returns engine's internal
Typeof 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)
-
-