|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An RDF statement.
| Method Summary | |
boolean |
equals(Object other)
Compares a statement object to another object. |
Value |
getObject()
Gets the object of this statement. |
URI |
getPredicate()
Gets the predicate of this statement. |
Resource |
getSubject()
Gets the subject of this statement. |
int |
hashCode()
The hash code of a statement is defined as follows: (0xFF0000 & subject.hashCode()) | (0x00FF00 & predicate.hashCode()) | (0x0000FF & object.hashCode()); |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public Resource getSubject()
public URI getPredicate()
public Value getObject()
public boolean equals(Object other)
other - The object to compare this statement to.
Statement and if their subjects, predicates and objects are
equal.public int hashCode()
(0xFF0000 & subject.hashCode()) | (0x00FF00 & predicate.hashCode()) | (0x0000FF & object.hashCode());
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||