public class RDFTriple extends Object implements Serializable
| Constructor and Description |
|---|
RDFTriple(IRI subject,
boolean subjectAnon,
IRI predicate,
boolean predicateAnon,
IRI object,
boolean objectAnon) |
RDFTriple(IRI subject,
boolean subjectAnon,
IRI predicate,
boolean predicateAnon,
OWLLiteral object) |
RDFTriple(RDFResource subject,
RDFResource predicate,
RDFNode object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
RDFNode |
getObject() |
RDFResource |
getPredicate() |
RDFResource |
getSubject() |
int |
hashCode() |
String |
toString() |
public RDFTriple(RDFResource subject, RDFResource predicate, RDFNode object)
subject - the subjectpredicate - the predicateobject - the objectpublic RDFTriple(IRI subject, boolean subjectAnon, IRI predicate, boolean predicateAnon, IRI object, boolean objectAnon)
subject - the subjectsubjectAnon - whether the subject is anonymouspredicate - the predicatepredicateAnon - whether the predicate is anonobject - the objectobjectAnon - whether the object is anonymouspublic RDFTriple(IRI subject, boolean subjectAnon, IRI predicate, boolean predicateAnon, OWLLiteral object)
subject - the subjectsubjectAnon - whether the subject is anonymouspredicate - the predicatepredicateAnon - whether the predicate is anonobject - the objectpublic RDFResource getSubject()
public RDFResource getPredicate()
public RDFNode getObject()
Copyright © 2014 The University of Manchester. All Rights Reserved.