code: public NodeData parentData() throws RepositoryException
     {
        checkValid();
        NodeData parent = (NodeData)dataManager.getItemData(getData().getParentIdentifier());
        if (parent == null)
        {
           throw new ItemNotFoundException("FATAL: Parent is null for " + getPath() + " parent UUID: "
              + getData().getParentIdentifier());
        }
  
        return parent;
     }
docs: Get and return parent node data.
  
  @return parent node data
  @throws RepositoryException if parent item is null