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()
BNode
protected void setID(String id)
public String stringValue()
Value
Literal
's label, a URI
's URI or a BNode
's ID.stringValue
in interface Value
public boolean equals(Object o)
BNode
public int hashCode()
BNode
Copyright © 2001-2013 Aduna. All Rights Reserved.