Class AxiomImpl<T>

java.lang.Object
cz.cvut.kbss.ontodriver.model.AxiomImpl<T>
All Implemented Interfaces:
Axiom<T>

public final class AxiomImpl<T> extends Object implements Axiom<T>
  • Constructor Details

  • Method Details

    • getSubject

      public NamedResource getSubject()
      Description copied from interface: Axiom
      Gets the subject of this axiom.
      Specified by:
      getSubject in interface Axiom<T>
      Returns:
      Subject named resource
    • getAssertion

      public Assertion getAssertion()
      Description copied from interface: Axiom
      Gets the assertion of this axiom.
      Specified by:
      getAssertion in interface Axiom<T>
      Returns:
      Assertion named resource
    • getValue

      public Value<T> getValue()
      Description copied from interface: Axiom
      Gets the value of this axiom.
      Specified by:
      getValue in interface Axiom<T>
      Returns:
      Value, either a NamedResource, or a literal value
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object