Class EbXMLQueryResponse30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLObjectContainer30
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLQueryResponse30
- All Implemented Interfaces:
EbXMLObjectContainer
,EbXMLQueryResponse<AdhocQueryResponse>
,EbXMLRegistryResponse<AdhocQueryResponse>
public class EbXMLQueryResponse30
extends EbXMLObjectContainer30
implements EbXMLQueryResponse<AdhocQueryResponse>
Encapsulation of
AdhocQueryResponse
.- Author:
- Jens Riemschneider
-
Constructor Summary
ConstructorDescriptionEbXMLQueryResponse30
(AdhocQueryResponse response) Constructs the response wrapper using a newEbXMLObjectLibrary
.EbXMLQueryResponse30
(AdhocQueryResponse response, EbXMLObjectLibrary objectLibrary) Constructs a query response by wrapping the given ebXML 3.0 object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an object reference to the response.void
setErrors
(List<EbXMLRegistryError> errors) void
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLObjectContainer30
addAssociation, addClassification, addExtrinsicObject, addRegistryPackage, cast, fillObjectLibrary, getAssociations, getClassifications, getExtrinsicObjects, getExtrinsicObjects, getObjectLibrary, getRegistryPackages, getRegistryPackages
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLObjectContainer
addAssociation, addClassification, addExtrinsicObject, addRegistryPackage, getAssociations, getClassifications, getExtrinsicObjects, getExtrinsicObjects, getObjectLibrary, getRegistryPackages, getRegistryPackages
-
Constructor Details
-
EbXMLQueryResponse30
Constructs a query response by wrapping the given ebXML 3.0 object.- Parameters:
response
- the object to wrap.objectLibrary
- the object library to use.
-
EbXMLQueryResponse30
Constructs the response wrapper using a newEbXMLObjectLibrary
.- Parameters:
response
- the object to wrap.
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceEbXMLRegistryResponse<AdhocQueryResponse>
- Returns:
- the status result.
-
setStatus
- Specified by:
setStatus
in interfaceEbXMLRegistryResponse<AdhocQueryResponse>
- Parameters:
status
- the status result.
-
getErrors
- Specified by:
getErrors
in interfaceEbXMLRegistryResponse<AdhocQueryResponse>
- Returns:
- the error list.
-
setErrors
- Specified by:
setErrors
in interfaceEbXMLRegistryResponse<AdhocQueryResponse>
- Parameters:
errors
- the error list.
-
addReference
Description copied from interface:EbXMLQueryResponse
Adds an object reference to the response.- Specified by:
addReference
in interfaceEbXMLQueryResponse<AdhocQueryResponse>
- Parameters:
ref
- the object reference.
-
getReferences
- Specified by:
getReferences
in interfaceEbXMLQueryResponse<AdhocQueryResponse>
- Returns:
- all object references contained in the response.
-
getInternal
- Specified by:
getInternal
in interfaceEbXMLRegistryResponse<AdhocQueryResponse>
- Returns:
- the ebXML object being wrapped by this class.
-