public class SimpleBNode extends Object implements BNode
BNode
interface.Modifier | Constructor and Description |
---|---|
protected |
SimpleBNode()
Creates a new, unitialized blank node.
|
protected |
SimpleBNode(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 SimpleBNode()
set
before the
normal methods can be used.protected SimpleBNode(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
IRI
's URI or a BNode
's ID.stringValue
in interface Value
public boolean equals(Object o)
BNode
public int hashCode()
BNode
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.