code: @Override
      public NodeInfo getParent() {
          try {
              NodeInfo parent = null;
              final INodeReadTrx rtx = createRtxAndMove();
              if (rtx.getNode().hasParent()) {
                  // Parent transaction.
                  parent = new NodeWrapper(mDocWrapper, rtx.getNode().getParentKey());
              }
              rtx.close();
              return parent;
          } catch (final TTException exc) {
              LOGGER.error(exc.toString());
              return null;
          }
  
      }
docs: {@inheritDoc}