Class SimpleBNode
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractBNode
org.eclipse.rdf4j.model.impl.SimpleBNode
- All Implemented Interfaces:
Serializable, BNode, Resource, Value
An simple default implementation of the
BNode interface.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe blank node's identifier.private static final long -
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 AbstractBNode
equals, hashCode, stringValue, toStringMethods inherited from interface Resource
isResource
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
id
The blank node's identifier.
-
-
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
-
setID
-