this.nodeIdFactory = this.graphBuilder.getNodeIdFactory();
}
private GraphBuilder cloneGraphBuilder(GraphBuilder graphBuilder) {
GraphBuilder clonedGraphBuilder = null;
if (graphBuilder == null || graphBuilder.getGraph() == null) {
clonedGraphBuilder = new GraphBuilder(this.ontologyManager, false);
} else {
clonedGraphBuilder = new GraphBuilder(this.ontologyManager, graphBuilder.getGraph());
}
this.nodeIdFactory = clonedGraphBuilder.getNodeIdFactory();
return clonedGraphBuilder;
}