public class FetchResponse
extends java.lang.Object
implements java.io.Serializable
The DataGate server fetch operation response.
Constructor and Description |
---|
FetchResponse()
Instantiates a new
FetchResponse . |
FetchResponse(java.util.List<Document> documents) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.util.List<Document> |
getDocuments()
The list of
Document s fetched from the server. |
int |
hashCode() |
void |
setDocuments(java.util.List<Document> documents)
The list of
Document s fetched from the server. |
java.lang.String |
toString() |
public FetchResponse()
Instantiates a new FetchResponse
.
public FetchResponse(java.util.List<Document> documents)
public java.util.List<Document> getDocuments()
The list of Document
s fetched from the server.
Document
s fetched from server.public void setDocuments(java.util.List<Document> documents)
The list of Document
s fetched from the server.
documents
- the list of Document
spublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object