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
FieldsModifier and TypeFieldDescriptionstatic final ObjectFactoryThe factory to create objects of the lcm namespace.static final ObjectFactoryThe factory to create objects of the query namespace.static final ObjectFactoryThe factory to create objects of the rim namespace.static final ObjectFactoryThe factory to create objects of the rs namespace. -
Constructor Summary
Constructors -
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:EbXMLFactoryCreates a new classification.- Specified by:
createClassificationin interfaceEbXMLFactory- Parameters:
objectLibrary- the object library to use.- Returns:
- the created object.
-
createExtrinsic
Description copied from interface:EbXMLFactoryCreates a new extrinsic object and adds it to the object library.- Specified by:
createExtrinsicin 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:EbXMLFactoryCreates a new registry package and adds it to the object library.- Specified by:
createRegistryPackagein 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:EbXMLFactoryCreates a new association.- Specified by:
createAssociationin 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:EbXMLFactoryCreates a new request to submit objects.- Specified by:
createSubmitObjectsRequestin interfaceEbXMLFactory- Returns:
- the created object.
-
createProvideAndRegisterDocumentSetRequest
public EbXMLProvideAndRegisterDocumentSetRequest<ProvideAndRegisterDocumentSetRequestType> createProvideAndRegisterDocumentSetRequest(EbXMLObjectLibrary objectLibrary) Description copied from interface:EbXMLFactoryCreates a new request to provide and register documents.- Specified by:
createProvideAndRegisterDocumentSetRequestin interfaceEbXMLFactory- Parameters:
objectLibrary- the object library to use.- Returns:
- the created object.
-
createRetrieveDocumentSetRequest
public EbXMLNonconstructiveDocumentSetRequest<RetrieveDocumentSetRequestType> createRetrieveDocumentSetRequest()Description copied from interface:EbXMLFactoryCreates a new request to retrieve documents.- Specified by:
createRetrieveDocumentSetRequestin interfaceEbXMLFactory- Returns:
- the created object.
-
createRemoveDocumentsRequest
public EbXMLNonconstructiveDocumentSetRequest<RemoveDocumentsRequestType> createRemoveDocumentsRequest()Description copied from interface:EbXMLFactoryCreates a new request to remove documents.- Specified by:
createRemoveDocumentsRequestin interfaceEbXMLFactory- Returns:
- the created object.
-
createRetrieveImagingDocumentSetRequest
public EbXMLRetrieveImagingDocumentSetRequest<RetrieveImagingDocumentSetRequestType> createRetrieveImagingDocumentSetRequest()Description copied from interface:EbXMLFactoryCreates a new request to retrieve imaging documents.- Specified by:
createRetrieveImagingDocumentSetRequestin interfaceEbXMLFactory- Returns:
- the created object.
-
createObjectLibrary
- Specified by:
createObjectLibraryin interfaceEbXMLFactory- Returns:
- a new instance of an object library filled with object references used for ebXML requests/responses.
-
createRegistryResponse
Description copied from interface:EbXMLFactoryCreates a new response for a registry request.- Specified by:
createRegistryResponsein interfaceEbXMLFactory- Returns:
- the created object.
-
createRetrieveDocumentSetResponse
public EbXMLRetrieveDocumentSetResponse<RetrieveDocumentSetResponseType> createRetrieveDocumentSetResponse()Description copied from interface:EbXMLFactoryCreates a new response for a retrieve document request.- Specified by:
createRetrieveDocumentSetResponsein interfaceEbXMLFactory- Returns:
- the created object.
-
createAdhocQueryRequest
Description copied from interface:EbXMLFactoryCreates a new request to query a registry.- Specified by:
createAdhocQueryRequestin interfaceEbXMLFactory- Returns:
- the created object.
-
createAdhocQueryResponse
public EbXMLQueryResponse<AdhocQueryResponse> createAdhocQueryResponse(EbXMLObjectLibrary objectLibrary, boolean returnsObjectRefs) Description copied from interface:EbXMLFactoryCreates a new response for a query request.- Specified by:
createAdhocQueryResponsein interfaceEbXMLFactory- Parameters:
objectLibrary- the object library to use.returnsObjectRefs-trueif the response is meant to return object references instead of the real objects. This parameter should betrueto 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:EbXMLFactoryCreates a new registry error object.- Specified by:
createRegistryErrorin interfaceEbXMLFactory- Returns:
- the created object.
-
createRemoveMetadataRequest
Description copied from interface:EbXMLFactoryCreates a new remove metadata request.- Specified by:
createRemoveMetadataRequestin interfaceEbXMLFactory- Returns:
- the created object.
-