Class XdmRetrieveResponseTypeImpl
java.lang.Object
org.projecthusky.communication.xd.xdm.XdmRetrieveResponseTypeImpl
Class that holds the extracted documents and submission sets from a given xdm
volume. It also contains errors, which might occur during the import process.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<org.openehealth.ipf.commons.ihe.xds.core.responses.ErrorInfo>
protected org.openehealth.ipf.commons.ihe.xds.core.responses.Status
protected static final org.openehealth.ipf.commons.ihe.xds.core.responses.Status
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new XdmRetrieveResponseTypeImpl object -
Method Summary
Modifier and TypeMethodDescriptionList<org.openehealth.ipf.commons.ihe.xds.core.metadata.Document>
Returns a list of XDSDocumentsList<org.openehealth.ipf.commons.ihe.xds.core.responses.ErrorInfo>
org.openehealth.ipf.commons.ihe.xds.core.responses.Status
boolean
Determines whether or not the transfer is complete.protected boolean
Determines whether or not the processing is complete.protected void
setAttachments
(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Document> attachments) Set the list of attachmentsvoid
setErrorList
(List<org.openehealth.ipf.commons.ihe.xds.core.responses.ErrorInfo> errorList) void
setStatus
(org.openehealth.ipf.commons.ihe.xds.core.responses.Status status)
-
Field Details
-
STATUS_EDEFAULT
protected static final org.openehealth.ipf.commons.ihe.xds.core.responses.Status STATUS_EDEFAULT -
errorList
-
status
protected org.openehealth.ipf.commons.ihe.xds.core.responses.Status status
-
-
Constructor Details
-
XdmRetrieveResponseTypeImpl
public XdmRetrieveResponseTypeImpl()Creates a new XdmRetrieveResponseTypeImpl object
-
-
Method Details
-
getAttachments
Returns a list of XDSDocuments- Returns:
- List of XDSDocuments in the XDM Zip File
-
isComplete
public boolean isComplete()Determines whether or not the transfer is complete. Not used in the XDM implementation. -
isProcessed
protected boolean isProcessed()Determines whether or not the processing is complete. Not used in the XDM implementation. -
setAttachments
protected void setAttachments(List<org.openehealth.ipf.commons.ihe.xds.core.metadata.Document> attachments) Set the list of attachments- Parameters:
attachments
- List of attachments for this responect
-
getErrorList
-
setErrorList
public void setErrorList(List<org.openehealth.ipf.commons.ihe.xds.core.responses.ErrorInfo> errorList) -
getStatus
public org.openehealth.ipf.commons.ihe.xds.core.responses.Status getStatus() -
setStatus
public void setStatus(org.openehealth.ipf.commons.ihe.xds.core.responses.Status status)
-