|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.franz.ag.ValueObject
com.franz.ag.ValueNode
com.franz.ag.ResourceNode
com.franz.ag.BlankNode
This class represents an instance of a blank (anonymous) node in AllegroGraph.
There is no public constructor. Node instances are created by a call to the createBNode() methods in the AllegroGraph class.
Method Summary | |
boolean |
equals(java.lang.Object other)
Implement equality for BlankNode instances. |
java.lang.String |
getID()
Retrieve the identifying string of the BlankNode instance. |
int |
hashCode()
Compute the hashcode of a BlankNode instance. |
java.lang.String |
toString()
This method overrides the generic toString method. |
Methods inherited from class com.franz.ag.ResourceNode |
addProperty, getSubjectStatements |
Methods inherited from class com.franz.ag.ValueNode |
compareTo, getObjectStatements, queryAGId |
Methods inherited from class com.franz.ag.ValueObject |
compareTo |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openrdf.model.Resource |
addProperty, getSubjectStatements |
Methods inherited from interface org.openrdf.model.Value |
getObjectStatements |
Methods inherited from interface java.lang.Comparable |
compareTo |
Method Detail |
public java.lang.String getID()
This identifying string exists only in the Java application. AllegroGraph does not implement persistent labels in the triple store. The persisitent label of the BlankNode instance in the triple store is determined by the AllegroGraph implementation.
getID
in interface BNode
public java.lang.String toString()
public boolean equals(java.lang.Object other)
Two BlankNode instances are equal if they have identical AllegroGraph part id numbers.
Otherwise, the string representations are compared.
public int hashCode()
The hashcode of a BlankNode instance is the hashcode of its string representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |