code: private OntologyTermNodePath createNodePathEntity(
        OWLClassContainer container, String ontologyTermNodePathText) {
      OntologyTermNodePath ontologyTermNodePath = ontologyTermNodePathFactory.create();
      ontologyTermNodePath.setId(idGenerator.generateId());
      ontologyTermNodePath.setNodePath(ontologyTermNodePathText);
      ontologyTermNodePath.setRoot(container.isRoot());
      nodePathRepository.add(ontologyTermNodePath);
      return ontologyTermNodePath;
    }
docs: Creates a {@link OntologyTermNodePathMetadata} {@link Entity} and stores it in the {@link
  #nodePathRepository}.
  
  @param container {@link OWLClassContainer} for the path to the ontology term
  @param ontologyTermNodePathText the node path
  @return the created {@link Entity}