1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.commons.ihe.hl7v3;
17
18 import org.apache.commons.lang3.Validate;
19 import org.openehealth.ipf.commons.ihe.core.atna.AuditStrategy;
20 import org.openehealth.ipf.commons.ihe.hl7v3.audit.Hl7v3AuditDataset;
21 import org.openehealth.ipf.commons.xml.CombinedXmlValidationProfile;
22
23 import javax.xml.namespace.QName;
24
25
26
27
28 public class Hl7v3ContinuationAwareWsTransactionConfiguration extends Hl7v3WsTransactionConfiguration {
29
30 private final String mainRequestRootElementName;
31 private final String mainResponseRootElementName;
32
33
34 public Hl7v3ContinuationAwareWsTransactionConfiguration(
35 String name,
36 String description,
37 boolean isQuery,
38 AuditStrategy<Hl7v3AuditDataset> clientAuditStrategy,
39 AuditStrategy<Hl7v3AuditDataset> serverAuditStrategy,
40 QName serviceName,
41 Class<?> sei,
42 QName bindingName,
43 boolean mtom,
44 String wsdlLocation,
45 String nakRootElementName,
46 String controlActProcessCode,
47 boolean auditRequestPayload,
48 boolean supportAsynchrony,
49 CombinedXmlValidationProfile requestValidationProfile,
50 CombinedXmlValidationProfile responseValidationProfile,
51 String mainRequestRootElementName,
52 String mainResponseRootElementName
53 )
54 {
55 super(name, description, isQuery, clientAuditStrategy, serverAuditStrategy,
56 serviceName, sei, bindingName, mtom, wsdlLocation,
57 nakRootElementName, controlActProcessCode,
58 auditRequestPayload, supportAsynchrony,
59 requestValidationProfile, responseValidationProfile);
60
61 Validate.notEmpty(mainRequestRootElementName);
62 Validate.notEmpty(mainResponseRootElementName);
63 this.mainRequestRootElementName = mainRequestRootElementName;
64 this.mainResponseRootElementName = mainResponseRootElementName;
65 }
66
67
68
69
70
71
72
73 public String getMainRequestRootElementName() {
74 return mainRequestRootElementName;
75 }
76
77
78
79
80
81
82 public String getMainResponseRootElementName() {
83 return mainResponseRootElementName;
84 }
85
86 }