|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jrdf.graph.AbstractTriple
A base implementation of an RDF Triple.
| Field Summary | |
protected ObjectNode |
objectNode
Object of this statement. |
protected PredicateNode |
predicateNode
Predicate of this statement. |
protected SubjectNode |
subjectNode
Subject of this statement. |
| Constructor Summary | |
AbstractTriple()
|
|
| Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
ObjectNode |
getObject()
Obtains the object of this statement. |
PredicateNode |
getPredicate()
Obtains the predicate of this statement. |
SubjectNode |
getSubject()
Obtains the subject of this statement. |
int |
hashCode()
Returns a hash-code value for this triple. |
String |
toString()
Provide a legible representation of a triple. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected SubjectNode subjectNode
protected PredicateNode predicateNode
protected ObjectNode objectNode
| Constructor Detail |
public AbstractTriple()
| Method Detail |
public SubjectNode getSubject()
getSubject in interface TripleSubjectNode which is either a BlankNode or
URIReferencepublic PredicateNode getPredicate()
getPredicate in interface TriplePredicateNode which is a URIReferencepublic ObjectNode getObject()
getObject in interface TripleObjectNode which is either a BlankNode,
URIReference or Literalpublic boolean equals(Object obj)
Triple
equals in interface Triplepublic int hashCode()
Triple
hashCode in interface Triplepublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||