1 /*
2 * Copyright 2001-2009 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 package org.apache.juddi.api_v3;
18
19 import java.util.ArrayList;
20 import java.util.List;
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlElement;
24 import javax.xml.bind.annotation.XmlType;
25 import org.uddi.sub_v3.GetSubscriptionResults;
26
27
28 /**
29 * <p>Java class for syncSubscription complex type.
30 *
31 * <p>The following schema fragment specifies the expected content contained within this class.
32 *
33 * <pre>
34 * <complexType name="syncSubscription">
35 * <complexContent>
36 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <sequence>
38 * <element name="authInfo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39 * <element name="get_subscriptionResultsList" type="{urn:uddi-org:sub_v3}get_subscriptionResults" maxOccurs="unbounded" minOccurs="0"/>
40 * </sequence>
41 * </restriction>
42 * </complexContent>
43 * </complexType>
44 * </pre>
45 *
46 *
47 */
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "syncSubscription", propOrder = {
50 "authInfo",
51 "getSubscriptionResultsList"
52 })
53 public class SyncSubscription {
54
55 protected String authInfo;
56 @XmlElement(name = "get_subscriptionResultsList", nillable = true)
57 protected List<GetSubscriptionResults> getSubscriptionResultsList;
58
59 /**
60 * Gets the value of the authInfo property.
61 *
62 * @return
63 * possible object is
64 * {@link String }
65 *
66 */
67 public String getAuthInfo() {
68 return authInfo;
69 }
70
71 /**
72 * Sets the value of the authInfo property.
73 *
74 * @param value
75 * allowed object is
76 * {@link String }
77 *
78 */
79 public void setAuthInfo(String value) {
80 this.authInfo = value;
81 }
82
83 /**
84 * Gets the value of the getSubscriptionResultsList property.
85 *
86 * <p>
87 * This accessor method returns a reference to the live list,
88 * not a snapshot. Therefore any modification you make to the
89 * returned list will be present inside the JAXB object.
90 * This is why there is not a <CODE>set</CODE> method for the getSubscriptionResultsList property.
91 *
92 * <p>
93 * For example, to add a new item, do as follows:
94 * <pre>
95 * getGetSubscriptionResultsList().add(newItem);
96 * </pre>
97 *
98 *
99 * <p>
100 * Objects of the following type(s) are allowed in the list
101 * {@link GetSubscriptionResults }
102 *
103 *
104 */
105 public List<GetSubscriptionResults> getGetSubscriptionResultsList() {
106 if (getSubscriptionResultsList == null) {
107 getSubscriptionResultsList = new ArrayList<GetSubscriptionResults>();
108 }
109 return this.getSubscriptionResultsList;
110 }
111
112 }