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 package org.uddi.api_v2;
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.XmlAttribute;
24 import javax.xml.bind.annotation.XmlType;
25
26
27 /**
28 * <p>Java class for find_business complex type.
29 *
30 * <p>The following schema fragment specifies the expected content contained within this class.
31 *
32 * <pre>
33 * <complexType name="find_business">
34 * <complexContent>
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <sequence>
37 * <element ref="{urn:uddi-org:api_v2}findQualifiers" minOccurs="0"/>
38 * <element ref="{urn:uddi-org:api_v2}name" maxOccurs="unbounded" minOccurs="0"/>
39 * <element ref="{urn:uddi-org:api_v2}identifierBag" minOccurs="0"/>
40 * <element ref="{urn:uddi-org:api_v2}categoryBag" minOccurs="0"/>
41 * <element ref="{urn:uddi-org:api_v2}tModelBag" minOccurs="0"/>
42 * <element ref="{urn:uddi-org:api_v2}discoveryURLs" minOccurs="0"/>
43 * </sequence>
44 * <attribute name="generic" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
45 * <attribute name="maxRows" type="{http://www.w3.org/2001/XMLSchema}int" />
46 * </restriction>
47 * </complexContent>
48 * </complexType>
49 * </pre>
50 *
51 *
52 */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "find_business", propOrder = {
55 "findQualifiers",
56 "name",
57 "identifierBag",
58 "categoryBag",
59 "tModelBag",
60 "discoveryURLs"
61 })
62 public class FindBusiness {
63
64 protected FindQualifiers findQualifiers;
65 protected List<Name> name;
66 protected IdentifierBag identifierBag;
67 protected CategoryBag categoryBag;
68 protected TModelBag tModelBag;
69 protected DiscoveryURLs discoveryURLs;
70 @XmlAttribute(name = "generic", required = true)
71 protected String generic="2.0";
72 @XmlAttribute(name = "maxRows")
73 protected Integer maxRows;
74
75 /**
76 * Gets the value of the findQualifiers property.
77 *
78 * @return
79 * possible object is
80 * {@link FindQualifiers }
81 *
82 */
83 public FindQualifiers getFindQualifiers() {
84 return findQualifiers;
85 }
86
87 /**
88 * Sets the value of the findQualifiers property.
89 *
90 * @param value
91 * allowed object is
92 * {@link FindQualifiers }
93 *
94 */
95 public void setFindQualifiers(FindQualifiers value) {
96 this.findQualifiers = value;
97 }
98
99 /**
100 * Gets the value of the name property.
101 *
102 * <p>
103 * This accessor method returns a reference to the live list,
104 * not a snapshot. Therefore any modification you make to the
105 * returned list will be present inside the JAXB object.
106 * This is why there is not a <CODE>set</CODE> method for the name property.
107 *
108 * <p>
109 * For example, to add a new item, do as follows:
110 * <pre>
111 * getName().add(newItem);
112 * </pre>
113 *
114 *
115 * <p>
116 * Objects of the following type(s) are allowed in the list
117 * {@link Name }
118 *
119 *
120 */
121 public List<Name> getName() {
122 if (name == null) {
123 name = new ArrayList<Name>();
124 }
125 return this.name;
126 }
127
128 /**
129 * Gets the value of the identifierBag property.
130 *
131 * @return
132 * possible object is
133 * {@link IdentifierBag }
134 *
135 */
136 public IdentifierBag getIdentifierBag() {
137 return identifierBag;
138 }
139
140 /**
141 * Sets the value of the identifierBag property.
142 *
143 * @param value
144 * allowed object is
145 * {@link IdentifierBag }
146 *
147 */
148 public void setIdentifierBag(IdentifierBag value) {
149 this.identifierBag = value;
150 }
151
152 /**
153 * Gets the value of the categoryBag property.
154 *
155 * @return
156 * possible object is
157 * {@link CategoryBag }
158 *
159 */
160 public CategoryBag getCategoryBag() {
161 return categoryBag;
162 }
163
164 /**
165 * Sets the value of the categoryBag property.
166 *
167 * @param value
168 * allowed object is
169 * {@link CategoryBag }
170 *
171 */
172 public void setCategoryBag(CategoryBag value) {
173 this.categoryBag = value;
174 }
175
176 /**
177 * Gets the value of the tModelBag property.
178 *
179 * @return
180 * possible object is
181 * {@link TModelBag }
182 *
183 */
184 public TModelBag getTModelBag() {
185 return tModelBag;
186 }
187
188 /**
189 * Sets the value of the tModelBag property.
190 *
191 * @param value
192 * allowed object is
193 * {@link TModelBag }
194 *
195 */
196 public void setTModelBag(TModelBag value) {
197 this.tModelBag = value;
198 }
199
200 /**
201 * Gets the value of the discoveryURLs property.
202 *
203 * @return
204 * possible object is
205 * {@link DiscoveryURLs }
206 *
207 */
208 public DiscoveryURLs getDiscoveryURLs() {
209 return discoveryURLs;
210 }
211
212 /**
213 * Sets the value of the discoveryURLs property.
214 *
215 * @param value
216 * allowed object is
217 * {@link DiscoveryURLs }
218 *
219 */
220 public void setDiscoveryURLs(DiscoveryURLs value) {
221 this.discoveryURLs = value;
222 }
223
224 /**
225 * Gets the value of the generic property.
226 *
227 * @return
228 * possible object is
229 * {@link String }
230 *
231 */
232 public String getGeneric() {
233 return generic;
234 }
235
236 /**
237 * Sets the value of the generic property.
238 *
239 * @param value
240 * allowed object is
241 * {@link String }
242 *
243 */
244 public void setGeneric(String value) {
245 this.generic = value;
246 }
247
248 /**
249 * Gets the value of the maxRows property.
250 *
251 * @return
252 * possible object is
253 * {@link Integer }
254 *
255 */
256 public Integer getMaxRows() {
257 return maxRows;
258 }
259
260 /**
261 * Sets the value of the maxRows property.
262 *
263 * @param value
264 * allowed object is
265 * {@link Integer }
266 *
267 */
268 public void setMaxRows(Integer value) {
269 this.maxRows = value;
270 }
271
272 }