public class BNodeImpl extends Object implements BNode
BNode interface.| Modifier | Constructor and Description |
|---|---|
protected |
BNodeImpl()
Creates a new, unitialized blank node.
|
|
BNodeImpl(String id)
Creates a new blank node with the supplied identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Compares a blank node object to another object.
|
String |
getID()
retrieves this blank node's identifier.
|
int |
hashCode()
The hash code of a blank node is defined as the hash code of its
identifier: id.hashCode().
|
protected void |
setID(String id) |
String |
stringValue()
Returns the String-value of a Value object.
|
String |
toString() |
protected BNodeImpl()
set before the normal methods can be used.public BNodeImpl(String id)
id - The identifier for this blank node, must not be null.public String getID()
BNodeprotected void setID(String id)
public String stringValue()
ValueLiteral's label, a URI's URI or a BNode's ID.stringValue in interface Valuepublic boolean equals(Object o)
BNodepublic int hashCode()
BNodeCopyright © 2001-2014 Aduna. All Rights Reserved.