public int hashCode() {
        return super.hashCode() + (document == null ? 0 : document.hashCode());
    }
Returns the document of this response, or null if there is none

@return the Document, or null
documentapi/src/main/java/com/yahoo/documentapi/DocumentResponse.java