1 /*
2 * Copyright 2001-2008 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
17
18
19 package org.uddi.sub_v3;
20
21 import java.io.Serializable;
22 import java.util.ArrayList;
23 import java.util.List;
24 import javax.xml.bind.annotation.XmlAccessType;
25 import javax.xml.bind.annotation.XmlAccessorType;
26 import javax.xml.bind.annotation.XmlAttribute;
27 import javax.xml.bind.annotation.XmlElement;
28 import javax.xml.bind.annotation.XmlRootElement;
29 import javax.xml.bind.annotation.XmlTransient;
30 import javax.xml.bind.annotation.XmlType;
31 import org.uddi.api_v3.AssertionStatusReport;
32 import org.uddi.api_v3.BindingDetail;
33 import org.uddi.api_v3.BusinessDetail;
34 import org.uddi.api_v3.BusinessList;
35 import org.uddi.api_v3.RelatedBusinessesList;
36 import org.uddi.api_v3.ServiceDetail;
37 import org.uddi.api_v3.ServiceList;
38 import org.uddi.api_v3.TModelDetail;
39 import org.uddi.api_v3.TModelList;
40
41
42 /**
43 * <p>Java class for subscriptionResultsList complex type.
44 *
45 * <p>The following schema fragment specifies the expected content contained within this class.
46 *
47 * <pre>
48 * <complexType name="subscriptionResultsList">
49 * <complexContent>
50 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <sequence>
52 * <element ref="{urn:uddi-org:sub_v3}chunkToken" minOccurs="0"/>
53 * <element ref="{urn:uddi-org:sub_v3}coveragePeriod"/>
54 * <element ref="{urn:uddi-org:sub_v3}subscription"/>
55 * <choice minOccurs="0">
56 * <element ref="{urn:uddi-org:api_v3}bindingDetail"/>
57 * <element ref="{urn:uddi-org:api_v3}businessDetail"/>
58 * <element ref="{urn:uddi-org:api_v3}serviceDetail"/>
59 * <element ref="{urn:uddi-org:api_v3}tModelDetail"/>
60 * <element ref="{urn:uddi-org:api_v3}businessList"/>
61 * <element ref="{urn:uddi-org:api_v3}relatedBusinessesList"/>
62 * <element ref="{urn:uddi-org:api_v3}serviceList"/>
63 * <element ref="{urn:uddi-org:api_v3}tModelList"/>
64 * <element ref="{urn:uddi-org:api_v3}assertionStatusReport"/>
65 * </choice>
66 * <element ref="{urn:uddi-org:sub_v3}keyBag" maxOccurs="unbounded" minOccurs="0"/>
67 * </sequence>
68 * <attribute name="someResultsUnavailable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
69 * </restriction>
70 * </complexContent>
71 * </complexType>
72 * </pre>
73 *
74 *
75 */
76 @XmlAccessorType(XmlAccessType.FIELD)
77 @XmlType(name = "subscriptionResultsList", propOrder = {
78 "chunkToken",
79 "coveragePeriod",
80 "subscription",
81 "bindingDetail",
82 "businessDetail",
83 "serviceDetail",
84 "tModelDetail",
85 "businessList",
86 "relatedBusinessesList",
87 "serviceList",
88 "tModelList",
89 "assertionStatusReport",
90 "keyBag"
91 })
92 @XmlRootElement(name="subscriptionResultsList")
93 public class SubscriptionResultsList implements Serializable{
94 @XmlTransient
95 private static final long serialVersionUID = 8704510604661100139L;
96 protected String chunkToken;
97 @XmlElement(required = true)
98 protected CoveragePeriod coveragePeriod;
99 @XmlElement(required = true)
100 protected Subscription subscription;
101 @XmlElement(namespace = "urn:uddi-org:api_v3")
102 protected BindingDetail bindingDetail;
103 @XmlElement(namespace = "urn:uddi-org:api_v3")
104 protected BusinessDetail businessDetail;
105 @XmlElement(namespace = "urn:uddi-org:api_v3")
106 protected ServiceDetail serviceDetail;
107 @XmlElement(namespace = "urn:uddi-org:api_v3")
108 protected TModelDetail tModelDetail;
109 @XmlElement(namespace = "urn:uddi-org:api_v3")
110 protected BusinessList businessList;
111 @XmlElement(namespace = "urn:uddi-org:api_v3")
112 protected RelatedBusinessesList relatedBusinessesList;
113 @XmlElement(namespace = "urn:uddi-org:api_v3")
114 protected ServiceList serviceList;
115 @XmlElement(namespace = "urn:uddi-org:api_v3")
116 protected TModelList tModelList;
117 @XmlElement(namespace = "urn:uddi-org:api_v3")
118 protected AssertionStatusReport assertionStatusReport;
119 protected List<KeyBag> keyBag;
120 @XmlAttribute
121 protected Boolean someResultsUnavailable;
122
123 /**
124 * Gets the value of the chunkToken property.
125 *
126 * @return
127 * possible object is
128 * {@link String }
129 *
130 */
131 public String getChunkToken() {
132 return chunkToken;
133 }
134
135 /**
136 * Sets the value of the chunkToken property.
137 *
138 * @param value
139 * allowed object is
140 * {@link String }
141 *
142 */
143 public void setChunkToken(String value) {
144 this.chunkToken = value;
145 }
146
147 /**
148 * Gets the value of the coveragePeriod property.
149 *
150 * @return
151 * possible object is
152 * {@link CoveragePeriod }
153 *
154 */
155 public CoveragePeriod getCoveragePeriod() {
156 return coveragePeriod;
157 }
158
159 /**
160 * Sets the value of the coveragePeriod property.
161 *
162 * @param value
163 * allowed object is
164 * {@link CoveragePeriod }
165 *
166 */
167 public void setCoveragePeriod(CoveragePeriod value) {
168 this.coveragePeriod = value;
169 }
170
171 /**
172 * Gets the value of the subscription property.
173 *
174 * @return
175 * possible object is
176 * {@link Subscription }
177 *
178 */
179 public Subscription getSubscription() {
180 return subscription;
181 }
182
183 /**
184 * Sets the value of the subscription property.
185 *
186 * @param value
187 * allowed object is
188 * {@link Subscription }
189 *
190 */
191 public void setSubscription(Subscription value) {
192 this.subscription = value;
193 }
194
195 /**
196 * Gets the value of the bindingDetail property.
197 *
198 * @return
199 * possible object is
200 * {@link BindingDetail }
201 *
202 */
203 public BindingDetail getBindingDetail() {
204 return bindingDetail;
205 }
206
207 /**
208 * Sets the value of the bindingDetail property.
209 *
210 * @param value
211 * allowed object is
212 * {@link BindingDetail }
213 *
214 */
215 public void setBindingDetail(BindingDetail value) {
216 this.bindingDetail = value;
217 }
218
219 /**
220 * Gets the value of the businessDetail property.
221 *
222 * @return
223 * possible object is
224 * {@link BusinessDetail }
225 *
226 */
227 public BusinessDetail getBusinessDetail() {
228 return businessDetail;
229 }
230
231 /**
232 * Sets the value of the businessDetail property.
233 *
234 * @param value
235 * allowed object is
236 * {@link BusinessDetail }
237 *
238 */
239 public void setBusinessDetail(BusinessDetail value) {
240 this.businessDetail = value;
241 }
242
243 /**
244 * Gets the value of the serviceDetail property.
245 *
246 * @return
247 * possible object is
248 * {@link ServiceDetail }
249 *
250 */
251 public ServiceDetail getServiceDetail() {
252 return serviceDetail;
253 }
254
255 /**
256 * Sets the value of the serviceDetail property.
257 *
258 * @param value
259 * allowed object is
260 * {@link ServiceDetail }
261 *
262 */
263 public void setServiceDetail(ServiceDetail value) {
264 this.serviceDetail = value;
265 }
266
267 /**
268 * Gets the value of the tModelDetail property.
269 *
270 * @return
271 * possible object is
272 * {@link TModelDetail }
273 *
274 */
275 public TModelDetail getTModelDetail() {
276 return tModelDetail;
277 }
278
279 /**
280 * Sets the value of the tModelDetail property.
281 *
282 * @param value
283 * allowed object is
284 * {@link TModelDetail }
285 *
286 */
287 public void setTModelDetail(TModelDetail value) {
288 this.tModelDetail = value;
289 }
290
291 /**
292 * Gets the value of the businessList property.
293 *
294 * @return
295 * possible object is
296 * {@link BusinessList }
297 *
298 */
299 public BusinessList getBusinessList() {
300 return businessList;
301 }
302
303 /**
304 * Sets the value of the businessList property.
305 *
306 * @param value
307 * allowed object is
308 * {@link BusinessList }
309 *
310 */
311 public void setBusinessList(BusinessList value) {
312 this.businessList = value;
313 }
314
315 /**
316 * Gets the value of the relatedBusinessesList property.
317 *
318 * @return
319 * possible object is
320 * {@link RelatedBusinessesList }
321 *
322 */
323 public RelatedBusinessesList getRelatedBusinessesList() {
324 return relatedBusinessesList;
325 }
326
327 /**
328 * Sets the value of the relatedBusinessesList property.
329 *
330 * @param value
331 * allowed object is
332 * {@link RelatedBusinessesList }
333 *
334 */
335 public void setRelatedBusinessesList(RelatedBusinessesList value) {
336 this.relatedBusinessesList = value;
337 }
338
339 /**
340 * Gets the value of the serviceList property.
341 *
342 * @return
343 * possible object is
344 * {@link ServiceList }
345 *
346 */
347 public ServiceList getServiceList() {
348 return serviceList;
349 }
350
351 /**
352 * Sets the value of the serviceList property.
353 *
354 * @param value
355 * allowed object is
356 * {@link ServiceList }
357 *
358 */
359 public void setServiceList(ServiceList value) {
360 this.serviceList = value;
361 }
362
363 /**
364 * Gets the value of the tModelList property.
365 *
366 * @return
367 * possible object is
368 * {@link TModelList }
369 *
370 */
371 public TModelList getTModelList() {
372 return tModelList;
373 }
374
375 /**
376 * Sets the value of the tModelList property.
377 *
378 * @param value
379 * allowed object is
380 * {@link TModelList }
381 *
382 */
383 public void setTModelList(TModelList value) {
384 this.tModelList = value;
385 }
386
387 /**
388 * Gets the value of the assertionStatusReport property.
389 *
390 * @return
391 * possible object is
392 * {@link AssertionStatusReport }
393 *
394 */
395 public AssertionStatusReport getAssertionStatusReport() {
396 return assertionStatusReport;
397 }
398
399 /**
400 * Sets the value of the assertionStatusReport property.
401 *
402 * @param value
403 * allowed object is
404 * {@link AssertionStatusReport }
405 *
406 */
407 public void setAssertionStatusReport(AssertionStatusReport value) {
408 this.assertionStatusReport = value;
409 }
410
411 /**
412 * Gets the value of the keyBag property.
413 *
414 * <p>
415 * This accessor method returns a reference to the live list,
416 * not a snapshot. Therefore any modification you make to the
417 * returned list will be present inside the JAXB object.
418 * This is why there is not a <CODE>set</CODE> method for the keyBag property.
419 *
420 * <p>
421 * For example, to add a new item, do as follows:
422 * <pre>
423 * getKeyBag().add(newItem);
424 * </pre>
425 *
426 *
427 * <p>
428 * Objects of the following type(s) are allowed in the list
429 * {@link KeyBag }
430 *
431 *
432 */
433 public List<KeyBag> getKeyBag() {
434 if (keyBag == null) {
435 keyBag = new ArrayList<KeyBag>();
436 }
437 return this.keyBag;
438 }
439
440 /**
441 * Gets the value of the someResultsUnavailable property.
442 *
443 * @return
444 * possible object is
445 * {@link Boolean }
446 *
447 */
448 public Boolean isSomeResultsUnavailable() {
449 return someResultsUnavailable;
450 }
451
452 /**
453 * Sets the value of the someResultsUnavailable property.
454 *
455 * @param value
456 * allowed object is
457 * {@link Boolean }
458 *
459 */
460 public void setSomeResultsUnavailable(Boolean value) {
461 this.someResultsUnavailable = value;
462 }
463
464 }