public static class LinkedHashModel.ModelStatement extends ContextStatement
| Constructor and Description |
|---|
ModelStatement(org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> subj,
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<IRI> pred,
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Value> obj,
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> ctx) |
ModelStatement(org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> subj,
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<IRI> pred,
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Value> obj,
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> ctx,
Statement statement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Compares this statement to another object.
|
Resource |
getContext()
Gets the context of this statement.
|
Value |
getObject()
Gets the object of this statement.
|
IRI |
getPredicate()
Gets the predicate of this statement.
|
Statement |
getStatement() |
Resource |
getSubject()
Gets the subject of this statement.
|
toStringhashCodepublic ModelStatement(org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> subj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<IRI> pred, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Value> obj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> ctx)
public ModelStatement(org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> subj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<IRI> pred, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Value> obj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> ctx, Statement statement)
public Resource getSubject()
StatementgetSubject in interface StatementgetSubject in class SimpleStatementpublic IRI getPredicate()
StatementgetPredicate in interface StatementgetPredicate in class SimpleStatementpublic Value getObject()
StatementgetObject in interface StatementgetObject in class SimpleStatementpublic Resource getContext()
StatementgetContext in interface StatementgetContext in class ContextStatementpublic boolean equals(Object other)
Statementequals in interface Statementequals in class AbstractStatementother - the object to compare this statement totrue if the other object is an instance of Statement and if their
subjects, predicates, objects and contexts are equal; false otherwisepublic Statement getStatement()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.