Class EbXMLFactory30
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30
- All Implemented Interfaces:
EbXMLFactory
Factory for EbXML 3.0 objects.
- Author:
- Jens Riemschneider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ObjectFactory
The factory to create objects of the lcm namespace.static final ObjectFactory
The factory to create objects of the query namespace.static final ObjectFactory
The factory to create objects of the rim namespace.static final ObjectFactory
The factory to create objects of the rs namespace. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new request to query a registry.createAdhocQueryResponse
(EbXMLObjectLibrary objectLibrary, boolean returnsObjectRefs) Creates a new response for a query request.createAssociation
(String id, EbXMLObjectLibrary objectLibrary) Creates a new association.createClassification
(EbXMLObjectLibrary objectLibrary) Creates a new classification.createExtrinsic
(String id, EbXMLObjectLibrary objectLibrary) Creates a new extrinsic object and adds it to the object library.createProvideAndRegisterDocumentSetRequest
(EbXMLObjectLibrary objectLibrary) Creates a new request to provide and register documents.Creates a new registry error object.createRegistryPackage
(String id, EbXMLObjectLibrary objectLibrary) Creates a new registry package and adds it to the object library.Creates a new response for a registry request.Creates a new request to remove documents.Creates a new remove metadata request.Creates a new request to retrieve documents.Creates a new response for a retrieve document request.Creates a new request to retrieve imaging documents.Creates a new request to submit objects.
-
Field Details
-
QUERY_FACTORY
The factory to create objects of the query namespace. -
RIM_FACTORY
The factory to create objects of the rim namespace. -
RS_FACTORY
The factory to create objects of the rs namespace. -
LCM_FACTORY
The factory to create objects of the lcm namespace.
-
-
Constructor Details
-
EbXMLFactory30
public EbXMLFactory30()
-
-
Method Details
-
createClassification
Description copied from interface:EbXMLFactory
Creates a new classification.- Specified by:
createClassification
in interfaceEbXMLFactory
- Parameters:
objectLibrary
- the object library to use.- Returns:
- the created object.
-
createExtrinsic
Description copied from interface:EbXMLFactory
Creates a new extrinsic object and adds it to the object library.- Specified by:
createExtrinsic
in interfaceEbXMLFactory
- Parameters:
id
- the id of the object within the object library.objectLibrary
- the object library to use.- Returns:
- the created object.
-
createRegistryPackage
Description copied from interface:EbXMLFactory
Creates a new registry package and adds it to the object library.- Specified by:
createRegistryPackage
in interfaceEbXMLFactory
- Parameters:
id
- the id of the object within the object library.objectLibrary
- the object library to use.- Returns:
- the created object.
-
createAssociation
Description copied from interface:EbXMLFactory
Creates a new association.- Specified by:
createAssociation
in interfaceEbXMLFactory
- Parameters:
id
- the id of the object within the object library.objectLibrary
- the object library to use.- Returns:
- the created object.
-
createSubmitObjectsRequest
Description copied from interface:EbXMLFactory
Creates a new request to submit objects.- Specified by:
createSubmitObjectsRequest
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createProvideAndRegisterDocumentSetRequest
public EbXMLProvideAndRegisterDocumentSetRequest<ProvideAndRegisterDocumentSetRequestType> createProvideAndRegisterDocumentSetRequest(EbXMLObjectLibrary objectLibrary) Description copied from interface:EbXMLFactory
Creates a new request to provide and register documents.- Specified by:
createProvideAndRegisterDocumentSetRequest
in interfaceEbXMLFactory
- Parameters:
objectLibrary
- the object library to use.- Returns:
- the created object.
-
createRetrieveDocumentSetRequest
public EbXMLNonconstructiveDocumentSetRequest<RetrieveDocumentSetRequestType> createRetrieveDocumentSetRequest()Description copied from interface:EbXMLFactory
Creates a new request to retrieve documents.- Specified by:
createRetrieveDocumentSetRequest
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createRemoveDocumentsRequest
public EbXMLNonconstructiveDocumentSetRequest<RemoveDocumentsRequestType> createRemoveDocumentsRequest()Description copied from interface:EbXMLFactory
Creates a new request to remove documents.- Specified by:
createRemoveDocumentsRequest
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createRetrieveImagingDocumentSetRequest
public EbXMLRetrieveImagingDocumentSetRequest<RetrieveImagingDocumentSetRequestType> createRetrieveImagingDocumentSetRequest()Description copied from interface:EbXMLFactory
Creates a new request to retrieve imaging documents.- Specified by:
createRetrieveImagingDocumentSetRequest
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createObjectLibrary
- Specified by:
createObjectLibrary
in interfaceEbXMLFactory
- Returns:
- a new instance of an object library filled with object references used for ebXML requests/responses.
-
createRegistryResponse
Description copied from interface:EbXMLFactory
Creates a new response for a registry request.- Specified by:
createRegistryResponse
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createRetrieveDocumentSetResponse
public EbXMLRetrieveDocumentSetResponse<RetrieveDocumentSetResponseType> createRetrieveDocumentSetResponse()Description copied from interface:EbXMLFactory
Creates a new response for a retrieve document request.- Specified by:
createRetrieveDocumentSetResponse
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createAdhocQueryRequest
Description copied from interface:EbXMLFactory
Creates a new request to query a registry.- Specified by:
createAdhocQueryRequest
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createAdhocQueryResponse
public EbXMLQueryResponse<AdhocQueryResponse> createAdhocQueryResponse(EbXMLObjectLibrary objectLibrary, boolean returnsObjectRefs) Description copied from interface:EbXMLFactory
Creates a new response for a query request.- Specified by:
createAdhocQueryResponse
in interfaceEbXMLFactory
- Parameters:
objectLibrary
- the object library to use.returnsObjectRefs
-true
if the response is meant to return object references instead of the real objects. This parameter should betrue
to ensure that an object library is not included in the query result contains ObjectRefs. Those ObjectRefs cannot be distinguished from the ObjectRefs of the object library and therefore the object library would produce unwanted query results.- Returns:
- the created object.
-
createRegistryError
Description copied from interface:EbXMLFactory
Creates a new registry error object.- Specified by:
createRegistryError
in interfaceEbXMLFactory
- Returns:
- the created object.
-
createRemoveMetadataRequest
Description copied from interface:EbXMLFactory
Creates a new remove metadata request.- Specified by:
createRemoveMetadataRequest
in interfaceEbXMLFactory
- Returns:
- the created object.
-