public void setTimeRange(final TimeRange timeRange) {
        this.timeRange = timeRange;
    }
@return A new builder for creating a {@link DocRef} for this document's type.
stroom-core-shared/src/main/java/stroom/query/shared/QueryDoc.java