private static ExplorerTreePath mapExplorerPathRecord(final ExplorerPathRecord record) {
        return new ExplorerTreePath(
                record.getAncestor(),
                record.getDescendant(),
                record.getDepth(),
                record.getOrderIndex());
    }
Get the root node containing a particular node, or the node itself if it is a root node.
stroom-explorer/stroom-explorer-impl-db/src/main/java/stroom/explorer/impl/db/ExplorerTreeDaoImpl.java