|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jrdf.graph.local.mem.AbstractResource org.jrdf.graph.local.mem.BlankNodeResourceImpl
public final class BlankNodeResourceImpl
Method Summary | |
---|---|
void |
accept(TypedNodeVisitor visitor)
Accept a call from a TypedNodeVisitor. |
boolean |
equals(Object obj)
While the internal structure of a BlankNode is not defined equality between two nodes should be able to be determined. |
String |
getUID()
Returns the identifier for the blank node. |
Node |
getUnderlyingNode()
Returns the node that the resource represents - either a BlankNode or a URIReference. |
URI |
getURI()
The URI identifiying this resource. |
int |
hashCode()
Returns a hash-code value for this BlankNode. |
boolean |
isURIReference()
Returns true if this is a URIReference, otherwise it's a BlankNode. |
String |
toString()
|
Methods inherited from class org.jrdf.graph.local.mem.AbstractResource |
---|
addValue, getId, getObjects, getSubjects, removeSubject, removeValue, removeValues, setValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jrdf.graph.local.mem.LocalizedNode |
---|
getId |
Method Detail |
---|
public boolean isURIReference()
Resource
isURIReference
in interface Resource
public Node getUnderlyingNode()
Resource
getUnderlyingNode
in interface Resource
public URI getURI()
URIReference
URI
identifiying this resource.
getURI
in interface URIReference
URI
identifying this resource.public int hashCode()
BlankNode
hashCode
in interface BlankNode
hashCode
in interface URIReference
hashCode
in class Object
public boolean equals(Object obj)
BlankNode
equals
in interface BlankNode
equals
in interface URIReference
equals
in class Object
obj
- the reference object with which to compare.
public void accept(TypedNodeVisitor visitor)
TypedNodeVisitable
accept
in interface TypedNodeVisitable
visitor
- the object doing the visiting.public String toString()
toString
in class Object
public String getUID()
GlobalizedBlankNode
getUID
in interface GlobalizedBlankNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |