|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Triple
SubjectNode
which is either a BlankNode
or
URIReference
public PredicateNode getPredicate()
getPredicate
in interface Triple
PredicateNode
which is a URIReference
public ObjectNode getObject()
getObject
in interface Triple
ObjectNode
which is either a BlankNode
,
URIReference
or Literal
public boolean equals(Object obj)
Triple
equals
in interface Triple
public int hashCode()
Triple
hashCode
in interface Triple
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |