|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Triple
RDF Triple. An RDF triple as defined in "Resource Description Framework (RDF): Concepts and Abstract Syntax 6.1 RDF Triples.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial UID. |
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. |
boolean |
isGrounded()
Returns true if the subject and object nodes are not blank nodes. |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
SubjectNode getSubject()
SubjectNode
which is either a BlankNode
or
URIReference
PredicateNode getPredicate()
PredicateNode
which is a URIReference
ObjectNode getObject()
ObjectNode
which is either a BlankNode
,
URIReference
or Literal
boolean isGrounded()
boolean equals(Object obj)
equals
in class Object
obj
- the reference object with which to compare.
int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |