Class ChPharm1RequestValidator
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.validate.requests.query.ChPharm1RequestValidator
- All Implemented Interfaces:
org.openehealth.ipf.commons.core.modules.api.Validator<org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest,
org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile>
public class ChPharm1RequestValidator
extends Object
implements org.openehealth.ipf.commons.core.modules.api.Validator<org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest,org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile>
Validates a CH:PHARM-1
EbXMLAdhocQueryRequest
.- Author:
- Jens Riemschneider, Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest request, org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile profile)
-
Constructor Details
-
ChPharm1RequestValidator
public ChPharm1RequestValidator()
-
-
Method Details
-
validate
public void validate(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest request, org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile profile) - Specified by:
validate
in interfaceorg.openehealth.ipf.commons.core.modules.api.Validator<org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest,
org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile> - Parameters:
request
- message to be validatedprofile
- profile to be validated against- Throws:
org.openehealth.ipf.commons.core.modules.api.ValidationException
- if the validation has failed due to non-conformance or internal errors.
-