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  
18  
19  package org.uddi.api_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.w3._2000._09.xmldsig_.SignatureType;
32  
33  
34  /**
35   * <p>Java class for businessEntity complex type.
36   * 
37   * <p>The following schema fragment specifies the expected content contained within this class.
38   * 
39   * <pre>
40   * &lt;complexType name="businessEntity">
41   *   &lt;complexContent>
42   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
43   *       &lt;sequence>
44   *         &lt;element ref="{urn:uddi-org:api_v3}discoveryURLs" minOccurs="0"/>
45   *         &lt;element ref="{urn:uddi-org:api_v3}name" maxOccurs="unbounded"/>
46   *         &lt;element ref="{urn:uddi-org:api_v3}description" maxOccurs="unbounded" minOccurs="0"/>
47   *         &lt;element ref="{urn:uddi-org:api_v3}contacts" minOccurs="0"/>
48   *         &lt;element ref="{urn:uddi-org:api_v3}businessServices" minOccurs="0"/>
49   *         &lt;element ref="{urn:uddi-org:api_v3}identifierBag" minOccurs="0"/>
50   *         &lt;element ref="{urn:uddi-org:api_v3}categoryBag" minOccurs="0"/>
51   *         &lt;element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" maxOccurs="unbounded" minOccurs="0"/>
52   *       &lt;/sequence>
53   *       &lt;attribute name="businessKey" type="{urn:uddi-org:api_v3}businessKey" />
54   *     &lt;/restriction>
55   *   &lt;/complexContent>
56   * &lt;/complexType>
57   * </pre>
58   * 
59   * 
60   */
61  @XmlAccessorType(XmlAccessType.FIELD)
62  @XmlType(name = "businessEntity", propOrder = {
63      "discoveryURLs",
64      "name",
65      "description",
66      "contacts",
67      "businessServices",
68      "identifierBag",
69      "categoryBag",
70      "signature"
71  })
72  @XmlRootElement()
73  public class BusinessEntity implements Serializable{
74  	@XmlTransient
75  	private static final long serialVersionUID = -8418387236934632049L;
76  	protected DiscoveryURLs discoveryURLs;
77      @XmlElement(required = true)
78      protected List<Name> name;
79      protected List<Description> description;
80      protected Contacts contacts;
81      protected BusinessServices businessServices;
82      protected IdentifierBag identifierBag;
83      protected CategoryBag categoryBag;
84      @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
85      protected List<SignatureType> signature;
86      @XmlAttribute
87      protected String businessKey;
88  
89      /**
90       * Gets the value of the discoveryURLs property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link DiscoveryURLs }
95       *     
96       */
97      public DiscoveryURLs getDiscoveryURLs() {
98          return discoveryURLs;
99      }
100 
101     /**
102      * Sets the value of the discoveryURLs property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link DiscoveryURLs }
107      *     
108      */
109     public void setDiscoveryURLs(DiscoveryURLs value) {
110         this.discoveryURLs = value;
111     }
112 
113     /**
114      * Gets the value of the name property.
115      * 
116      * <p>
117      * This accessor method returns a reference to the live list,
118      * not a snapshot. Therefore any modification you make to the
119      * returned list will be present inside the JAXB object.
120      * This is why there is not a <CODE>set</CODE> method for the name property.
121      * 
122      * <p>
123      * For example, to add a new item, do as follows:
124      * <pre>
125      *    getName().add(newItem);
126      * </pre>
127      * 
128      * 
129      * <p>
130      * Objects of the following type(s) are allowed in the list
131      * {@link Name }
132      * 
133      * 
134      */
135     public List<Name> getName() {
136         if (name == null) {
137             name = new ArrayList<Name>();
138         }
139         return this.name;
140     }
141 
142     /**
143      * Gets the value of the description property.
144      * 
145      * <p>
146      * This accessor method returns a reference to the live list,
147      * not a snapshot. Therefore any modification you make to the
148      * returned list will be present inside the JAXB object.
149      * This is why there is not a <CODE>set</CODE> method for the description property.
150      * 
151      * <p>
152      * For example, to add a new item, do as follows:
153      * <pre>
154      *    getDescription().add(newItem);
155      * </pre>
156      * 
157      * 
158      * <p>
159      * Objects of the following type(s) are allowed in the list
160      * {@link Description }
161      * 
162      * 
163      */
164     public List<Description> getDescription() {
165         if (description == null) {
166             description = new ArrayList<Description>();
167         }
168         return this.description;
169     }
170 
171     /**
172      * Gets the value of the contacts property.
173      * 
174      * @return
175      *     possible object is
176      *     {@link Contacts }
177      *     
178      */
179     public Contacts getContacts() {
180         return contacts;
181     }
182 
183     /**
184      * Sets the value of the contacts property.
185      * 
186      * @param value
187      *     allowed object is
188      *     {@link Contacts }
189      *     
190      */
191     public void setContacts(Contacts value) {
192         this.contacts = value;
193     }
194 
195     /**
196      * Gets the value of the businessServices property.
197      * 
198      * @return
199      *     possible object is
200      *     {@link BusinessServices }
201      *     
202      */
203     public BusinessServices getBusinessServices() {
204         return businessServices;
205     }
206 
207     /**
208      * Sets the value of the businessServices property.
209      * 
210      * @param value
211      *     allowed object is
212      *     {@link BusinessServices }
213      *     
214      */
215     public void setBusinessServices(BusinessServices value) {
216         this.businessServices = value;
217     }
218 
219     /**
220      * Gets the value of the identifierBag property.
221      * 
222      * @return
223      *     possible object is
224      *     {@link IdentifierBag }
225      *     
226      */
227     public IdentifierBag getIdentifierBag() {
228         return identifierBag;
229     }
230 
231     /**
232      * Sets the value of the identifierBag property.
233      * 
234      * @param value
235      *     allowed object is
236      *     {@link IdentifierBag }
237      *     
238      */
239     public void setIdentifierBag(IdentifierBag value) {
240         this.identifierBag = value;
241     }
242 
243     /**
244      * Gets the value of the categoryBag property.
245      * 
246      * @return
247      *     possible object is
248      *     {@link CategoryBag }
249      *     
250      */
251     public CategoryBag getCategoryBag() {
252         return categoryBag;
253     }
254 
255     /**
256      * Sets the value of the categoryBag property.
257      * 
258      * @param value
259      *     allowed object is
260      *     {@link CategoryBag }
261      *     
262      */
263     public void setCategoryBag(CategoryBag value) {
264         this.categoryBag = value;
265     }
266 
267     /**
268      * Gets the value of the signature property.
269      * 
270      * <p>
271      * This accessor method returns a reference to the live list,
272      * not a snapshot. Therefore any modification you make to the
273      * returned list will be present inside the JAXB object.
274      * This is why there is not a <CODE>set</CODE> method for the signature property.
275      * 
276      * <p>
277      * For example, to add a new item, do as follows:
278      * <pre>
279      *    getSignature().add(newItem);
280      * </pre>
281      * 
282      * 
283      * <p>
284      * Objects of the following type(s) are allowed in the list
285      * {@link SignatureType }
286      * 
287      * 
288      */
289     public List<SignatureType> getSignature() {
290         if (signature == null) {
291             signature = new ArrayList<SignatureType>();
292         }
293         return this.signature;
294     }
295 
296     /**
297      * Gets the value of the businessKey property.
298      * 
299      * @return
300      *     possible object is
301      *     {@link String }
302      *     
303      */
304     public String getBusinessKey() {
305         return businessKey;
306     }
307 
308     /**
309      * Sets the value of the businessKey property.
310      * 
311      * @param value
312      *     allowed object is
313      *     {@link String }
314      *     
315      */
316     public void setBusinessKey(String value) {
317         this.businessKey = value;
318     }
319 
320 }