fr.boreal.model.logicalElements.api.Literal Maven / Gradle / Ivy
The newest version!
package fr.boreal.model.logicalElements.api;
/**
* A Literal is a typed constant representing strings, numbers, dates…
*
* @author Florent Tornil
*
* @param the native type of the Literal
*/
public interface Literal extends Term {
@Override
default boolean isLiteral() {
return true;
}
/**
* @return the value of this Literal as a native Java object
*/
T value();
}