Interface Statement

    • Method Detail

      • getSubject

        Resource getSubject()
        Gets the subject of this statement.
        Returns:
        The statement's subject.
      • getPredicate

        IRI getPredicate()
        Gets the predicate of this statement.
        Returns:
        The statement's predicate.
      • getObject

        Value getObject()
        Gets the object of this statement.
        Returns:
        The statement's object.
      • getContext

        Resource getContext()
        Gets the context of this statement.
        Returns:
        The statement's context, or null in case of the null context or if not applicable.
      • equals

        boolean equals​(Object other)
        Compares this statement to another object.
        Overrides:
        equals in class Object
        Parameters:
        other - 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