public class StatementImpl extends AbstractStatement implements Statement
Modifier and Type | Field and Description |
---|---|
protected URI |
predicate |
protected Resource |
subject |
Constructor and Description |
---|
StatementImpl(URI context,
Resource subject,
URI predicate,
Node object)
builds a new statement
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
URI |
getContext()
Note: this was set to be a
Model before, but that would have
caused problems, when people accesssed the model via the Statement. |
Node |
getObject() |
URI |
getPredicate() |
Resource |
getSubject() |
int |
hashCode() |
String |
toString() |
compareTo, dump, matches
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
matches
public Resource getSubject()
getSubject
in interface Statement
getSubject
in interface TriplePattern
public URI getPredicate()
getPredicate
in interface Statement
getPredicate
in interface TriplePattern
public Node getObject()
getObject
in interface Statement
getObject
in interface TriplePattern
public URI getContext()
Statement
Model
before, but that would have
caused problems, when people accesssed the model via the Statement.
(compare to Jena, where graph and Model are separated. We are here on
graph level)getContext
in interface Statement
public int hashCode()
hashCode
in interface Statement
hashCode
in class AbstractStatement
public boolean equals(Object other)
equals
in interface Statement
equals
in class AbstractStatement
Copyright © 2005–2018 IT-Consulting Dr. Max Völkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.