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
ConstructorsConstructorDescriptionEbXMLQueryResponse30(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 TypeMethodDescriptionvoidAdds an object reference to the response.voidsetErrors(List<EbXMLRegistryError> errors) voidMethods 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, getRegistryPackagesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getStatusin interfaceEbXMLRegistryResponse<AdhocQueryResponse>- Returns:
- the status result.
-
setStatus
- Specified by:
setStatusin interfaceEbXMLRegistryResponse<AdhocQueryResponse>- Parameters:
status- the status result.
-
getErrors
- Specified by:
getErrorsin interfaceEbXMLRegistryResponse<AdhocQueryResponse>- Returns:
- the error list.
-
setErrors
- Specified by:
setErrorsin interfaceEbXMLRegistryResponse<AdhocQueryResponse>- Parameters:
errors- the error list.
-
addReference
Description copied from interface:EbXMLQueryResponseAdds an object reference to the response.- Specified by:
addReferencein interfaceEbXMLQueryResponse<AdhocQueryResponse>- Parameters:
ref- the object reference.
-
getReferences
- Specified by:
getReferencesin interfaceEbXMLQueryResponse<AdhocQueryResponse>- Returns:
- all object references contained in the response.
-
getInternal
- Specified by:
getInternalin interfaceEbXMLRegistryResponse<AdhocQueryResponse>- Returns:
- the ebXML object being wrapped by this class.
-