code: public void addPathElement(QPathEntry element) {
         if (relPath == null)
            this.relPath = new QPath(new QPathEntry[]{element});
         else
            this.relPath = QPath.makeChildPath(relPath, element, element.getIndex());
      }
docs: Adds a path element to the existing relative path. To add a path element
  which matches all node names use {@link #STAR_NAME_TEST}.
  
  @param element the path element to append.