code: @Override
      public String getPath() {
          try {
              final String path = node.getPath();
              return path.endsWith("/" + JCR_CONTENT) ? path.substring(0, path.length() - JCR_CONTENT.length() - 1)
                  : path;
          } catch (final RepositoryException e) {
              throw new RepositoryRuntimeException(e);
          }
      }
docs: /* (non-Javadoc)
  @see org.fcrepo.kernel.api.models.FedoraResource#getPath()