Class AbstractValueFactory.GenericStatement

java.lang.Object
org.eclipse.rdf4j.model.base.AbstractStatement
org.eclipse.rdf4j.model.base.AbstractValueFactory.GenericStatement
All Implemented Interfaces:
Serializable, Statement
Enclosing class:
AbstractValueFactory

static class AbstractValueFactory.GenericStatement extends AbstractStatement
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • subject

      private final Resource subject
    • predicate

      private final IRI predicate
    • object

      private final Value object
    • context

      private final Resource context
  • Constructor Details

  • Method Details

    • getSubject

      public Resource getSubject()
      Description copied from interface: Statement
      Gets the subject of this statement.
      Returns:
      The statement's subject.
    • getPredicate

      public IRI getPredicate()
      Description copied from interface: Statement
      Gets the predicate of this statement.
      Returns:
      The statement's predicate.
    • getObject

      public Value getObject()
      Description copied from interface: Statement
      Gets the object of this statement.
      Returns:
      The statement's object.
    • getContext

      public Resource getContext()
      Description copied from interface: Statement
      Gets the context of this statement.
      Returns:
      The statement's context, or null in case of the null context or if not applicable.