@JsonIgnore
    public List<String> getAllParts() {
        return Stream.concat(parentParts.stream(), Stream.of(leafPart))
                .collect(Collectors.toList());
    }
@return The leaf part or null of this is an empty path
stroom-util-shared/src/main/java/stroom/util/shared/DocPath.java