public class EbXMLQueryResponse30 extends EbXMLObjectContainer30 implements EbXMLQueryResponse
AdhocQueryResponse
.Constructor and Description |
---|
EbXMLQueryResponse30(AdhocQueryResponse response)
Constructs the response wrapper using a new
EbXMLObjectLibrary . |
EbXMLQueryResponse30(AdhocQueryResponse response,
EbXMLObjectLibrary objectLibrary)
Constructs a query response by wrapping the given ebXML 3.0 object.
|
Modifier and Type | Method and Description |
---|---|
void |
addReference(ObjectReference ref)
Adds an object reference to the response.
|
List<EbXMLRegistryError> |
getErrors() |
AdhocQueryResponse |
getInternal() |
List<ObjectReference> |
getReferences() |
Status |
getStatus() |
void |
setErrors(List<EbXMLRegistryError> errors) |
void |
setStatus(Status status) |
addAssociation, addClassification, addExtrinsicObject, addRegistryPackage, cast, fillObjectLibrary, getAssociations, getClassifications, getExtrinsicObjects, getExtrinsicObjects, getObjectLibrary, getRegistryPackages, getRegistryPackages
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAssociation, addClassification, addExtrinsicObject, addRegistryPackage, getAssociations, getClassifications, getExtrinsicObjects, getExtrinsicObjects, getObjectLibrary, getRegistryPackages, getRegistryPackages
public EbXMLQueryResponse30(AdhocQueryResponse response, EbXMLObjectLibrary objectLibrary)
response
- the object to wrap.objectLibrary
- the object library to use.public EbXMLQueryResponse30(AdhocQueryResponse response)
EbXMLObjectLibrary
.response
- the object to wrap.public Status getStatus()
getStatus
in interface EbXMLRegistryResponse
public void setStatus(Status status)
setStatus
in interface EbXMLRegistryResponse
status
- the status result.public List<EbXMLRegistryError> getErrors()
getErrors
in interface EbXMLRegistryResponse
public void setErrors(List<EbXMLRegistryError> errors)
setErrors
in interface EbXMLRegistryResponse
errors
- the error list.public void addReference(ObjectReference ref)
EbXMLQueryResponse
addReference
in interface EbXMLQueryResponse
ref
- the object reference.public List<ObjectReference> getReferences()
getReferences
in interface EbXMLQueryResponse
public AdhocQueryResponse getInternal()
getInternal
in interface EbXMLRegistryResponse
Copyright © 2018 Open eHealth Foundation. All rights reserved.