1
2
3
4
5
6
7
8
9 package org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.query;
10
11 import java.math.BigInteger;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlSchemaType;
18 import javax.xml.bind.annotation.XmlType;
19
20 import org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim.AdhocQueryType;
21 import org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rs.RegistryRequestType;
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "", propOrder = {
50 "responseOption",
51 "adhocQuery"
52 })
53 @XmlRootElement(name = "AdhocQueryRequest")
54 public class AdhocQueryRequest
55 extends RegistryRequestType
56 {
57
58 @XmlElement(name = "ResponseOption", required = true)
59 protected ResponseOptionType responseOption;
60 @XmlElement(name = "AdhocQuery", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0", required = true)
61 protected AdhocQueryType adhocQuery;
62 @XmlAttribute
63 protected Boolean federated;
64 @XmlAttribute
65 @XmlSchemaType(name = "anyURI")
66 protected String federation;
67 @XmlAttribute
68 protected BigInteger startIndex;
69 @XmlAttribute
70 protected BigInteger maxResults;
71
72
73
74
75
76
77
78
79
80 public ResponseOptionType getResponseOption() {
81 return responseOption;
82 }
83
84
85
86
87
88
89
90
91
92 public void setResponseOption(ResponseOptionType value) {
93 this.responseOption = value;
94 }
95
96
97
98
99
100
101
102
103
104 public AdhocQueryType getAdhocQuery() {
105 return adhocQuery;
106 }
107
108
109
110
111
112
113
114
115
116 public void setAdhocQuery(AdhocQueryType value) {
117 this.adhocQuery = value;
118 }
119
120
121
122
123
124
125
126
127
128 public boolean isFederated() {
129 if (federated == null) {
130 return false;
131 } else {
132 return federated;
133 }
134 }
135
136
137
138
139
140
141
142
143
144 public void setFederated(Boolean value) {
145 this.federated = value;
146 }
147
148
149
150
151
152
153
154
155
156 public String getFederation() {
157 return federation;
158 }
159
160
161
162
163
164
165
166
167
168 public void setFederation(String value) {
169 this.federation = value;
170 }
171
172
173
174
175
176
177
178
179
180 public BigInteger getStartIndex() {
181 if (startIndex == null) {
182 return new BigInteger("0");
183 } else {
184 return startIndex;
185 }
186 }
187
188
189
190
191
192
193
194
195
196 public void setStartIndex(BigInteger value) {
197 this.startIndex = value;
198 }
199
200
201
202
203
204
205
206
207
208 public BigInteger getMaxResults() {
209 if (maxResults == null) {
210 return new BigInteger("-1");
211 } else {
212 return maxResults;
213 }
214 }
215
216
217
218
219
220
221
222
223
224 public void setMaxResults(BigInteger value) {
225 this.maxResults = value;
226 }
227
228 }