Class LuceneSailBuffer.ContextAwareStatementImpl

  • All Implemented Interfaces:
    java.io.Serializable, Statement
    Enclosing class:
    LuceneSailBuffer

    private static class LuceneSailBuffer.ContextAwareStatementImpl
    extends java.lang.Object
    implements Statement
    • Constructor Detail

      • ContextAwareStatementImpl

        public ContextAwareStatementImpl​(Statement delegate)
    • Method Detail

      • getSubject

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

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

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

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

        public boolean equals​(java.lang.Object obj)
        Description copied from interface: Statement
        Compares this statement to another object.
        Specified by:
        equals in interface Statement
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the object to compare this statement to
        Returns:
        true if the other object is an instance of Statement and if their subjects, predicates, objects and contexts are equal; false otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object