public class QueryResponse extends Response implements Serializable
null
.Constructor and Description |
---|
QueryResponse()
Constructs the response.
|
QueryResponse(Status status)
Constructs the response.
|
QueryResponse(Throwable throwable,
ErrorCode defaultMetaDataError,
ErrorCode defaultError,
String location)
Constructs an error response object with the data from an exception.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<Association> |
getAssociations() |
List<DocumentEntry> |
getDocumentEntries() |
List<Document> |
getDocuments() |
List<Folder> |
getFolders() |
List<ObjectReference> |
getReferences() |
List<SubmissionSet> |
getSubmissionSets() |
int |
hashCode() |
void |
setAssociations(List<Association> associations) |
void |
setDocumentEntries(List<DocumentEntry> documentEntries) |
void |
setDocuments(List<Document> documents) |
void |
setFolders(List<Folder> folders) |
void |
setReferences(List<ObjectReference> references) |
void |
setSubmissionSets(List<SubmissionSet> submissionSets) |
String |
toString() |
public QueryResponse()
public QueryResponse(Status status)
status
- the status of the request execution.public QueryResponse(Throwable throwable, ErrorCode defaultMetaDataError, ErrorCode defaultError, String location)
throwable
- the exception that occurred.defaultMetaDataError
- the default error code for XDSMetaDataException
.defaultError
- the default error code for any other exception.location
- error location.@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public List<ObjectReference> getReferences()
@Generated(value="lombok") public void setReferences(List<ObjectReference> references)
@Generated(value="lombok") public List<DocumentEntry> getDocumentEntries()
@Generated(value="lombok") public void setDocumentEntries(List<DocumentEntry> documentEntries)
@Generated(value="lombok") public List<Folder> getFolders()
@Generated(value="lombok") public void setFolders(List<Folder> folders)
@Generated(value="lombok") public List<SubmissionSet> getSubmissionSets()
@Generated(value="lombok") public void setSubmissionSets(List<SubmissionSet> submissionSets)
@Generated(value="lombok") public List<Association> getAssociations()
@Generated(value="lombok") public void setAssociations(List<Association> associations)
@Generated(value="lombok") public List<Document> getDocuments()
@Generated(value="lombok") public void setDocuments(List<Document> documents)
Copyright © 2018 Open eHealth Foundation. All rights reserved.