|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jrdf.graph.AbstractBlankNode org.jrdf.graph.mem.BlankNodeImpl
RDF blank node. Note that blank nodes are deliberately devoid of external indentifying attributes. Blank nodes, can either be subjects or objects.
Method Summary | |
boolean |
equals(Object obj)
While the internal structure of a BlankNode is not defined equality between two nodes should be able to be determined. |
Long |
getId()
Retrieves an internal identifier for this node. |
int |
hashCode()
Returns a hash-code value for this BlankNode. |
String |
toString()
Returns the String value of this BlankNode as: uid#id (eg. 29fbf7ba364f1425dda058737d764603#69) |
static BlankNode |
valueOf(String nodeString)
Parses a String in the format of: uid#id (eg. 29fbf7ba364f1425dda058737d764603#69) and creates a new BlankNodeImpl from it. |
Methods inherited from class org.jrdf.graph.AbstractBlankNode |
accept |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public Long getId()
getId
in interface MemNode
public int hashCode()
hashCode
in interface BlankNode
public boolean equals(Object obj)
equals
in interface BlankNode
obj
- the reference object with which to compare.
public String toString()
public static BlankNode valueOf(String nodeString) throws IllegalArgumentException
nodeString
- String previously returned by toString()
IllegalArgumentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |