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