Class Literal<T>

java.lang.Object
io.github.webbasedwodt.ontology.Literal<T>
Type Parameters:
T - the type of the literal.
All Implemented Interfaces:
Node

public final class Literal<T> extends Object implements Node
It models the concept of RDF Literal.
  • Constructor Details

    • Literal

      public Literal(T value)
      Default constructor.
      Parameters:
      value - the value of the literal
  • Method Details

    • getValue

      public T getValue()
      Getter.
      Returns:
      the literal