public class ExtensibleContextStatement extends ContextStatement implements ExtensibleStatement
| Constructor and Description |
|---|
ExtensibleContextStatement(Resource subject,
IRI predicate,
Value object,
Resource context,
boolean inferred)
Creates a new Statement with the supplied subject, predicate and object for the specified associated context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compares this statement to another object.
|
int |
hashCode()
Computes the hash code of this statement.
|
boolean |
isInferred() |
getContext, toStringgetObject, getPredicate, getSubjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContext, getObject, getPredicate, getSubjectpublic ExtensibleContextStatement(Resource subject, IRI predicate, Value object, Resource context, boolean inferred)
subject - The statement's subject, must not be null.predicate - The statement's predicate, must not be null.object - The statement's object, must not be null.context - The statement's context, null to indicate no context is associated.public boolean isInferred()
isInferred in interface ExtensibleStatementpublic boolean equals(Object o)
Statementequals in interface Statementequals in class AbstractStatemento - 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 int hashCode()
StatementhashCode in interface StatementhashCode in class AbstractStatementObjects.hash(
Statement.getSubject(), Statement.getPredicate(), Statement.getObject(), Statement.getContext())Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.