Package org.eclipse.rdf4j.model.impl
Class SimpleBNode
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractBNode
org.eclipse.rdf4j.model.impl.SimpleBNode
- All Implemented Interfaces:
Serializable,BNode,Resource,Value
- Direct Known Subclasses:
LmdbBNode,NativeBNode
An simple default implementation of the
BNode interface.- Author:
- Arjohn Kampman
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new, unitialized blank node.protectedSimpleBNode(String id) Creates a new blank node with the supplied identifier. -
Method Summary
Methods inherited from class org.eclipse.rdf4j.model.base.AbstractBNode
equals, hashCode, stringValue, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.model.Resource
isResource
-
Constructor Details
-
SimpleBNode
protected SimpleBNode()Creates a new, unitialized blank node. This blank node's ID needs to besetbefore the normal methods can be used. -
SimpleBNode
Creates a new blank node with the supplied identifier.- Parameters:
id- The identifier for this blank node, must not be null.
-
-
Method Details
-
getID
Description copied from interface:BNodeRetrieves this blank node's identifier.- Returns:
- A blank node identifier.
-
setID
-