@JsonIgnore
    public boolean isOnOneLine() {
        return locationFrom != null
                && locationTo != null
                && locationFrom.getLineNo() == locationTo.getLineNo();
    }
@return True if all of this range is inside or is identical to
the other range.
stroom-util-shared/src/main/java/stroom/util/shared/DataRange.java