This project has retired. For details please refer to its Attic page.
SaveService xref
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.XmlElement;
27  import javax.xml.bind.annotation.XmlTransient;
28  import javax.xml.bind.annotation.XmlType;
29  
30  
31  /**
32   * <p>Java class for save_service complex type.
33   * 
34   * <p>The following schema fragment specifies the expected content contained within this class.
35   * 
36   * <pre>
37   * &lt;complexType name="save_service">
38   *   &lt;complexContent>
39   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40   *       &lt;sequence>
41   *         &lt;element ref="{urn:uddi-org:api_v3}authInfo" minOccurs="0"/>
42   *         &lt;element ref="{urn:uddi-org:api_v3}businessService" maxOccurs="unbounded"/>
43   *       &lt;/sequence>
44   *     &lt;/restriction>
45   *   &lt;/complexContent>
46   * &lt;/complexType>
47   * </pre>
48   * 
49   * 
50   */
51  @XmlAccessorType(XmlAccessType.FIELD)
52  @XmlType(name = "save_service", propOrder = {
53      "authInfo",
54      "businessService"
55  })
56  public class SaveService implements Serializable{
57  	@XmlTransient
58  	private static final long serialVersionUID = 8950804064784175029L;
59  	protected String authInfo;
60      @XmlElement(required = true)
61      protected List<BusinessService> businessService;
62  
63      /**
64       * Gets the value of the authInfo property.
65       * 
66       * @return
67       *     possible object is
68       *     {@link String }
69       *     
70       */
71      public String getAuthInfo() {
72          return authInfo;
73      }
74  
75      /**
76       * Sets the value of the authInfo property.
77       * 
78       * @param value
79       *     allowed object is
80       *     {@link String }
81       *     
82       */
83      public void setAuthInfo(String value) {
84          this.authInfo = value;
85      }
86  
87      /**
88       * Gets the value of the businessService property.
89       * 
90       * <p>
91       * This accessor method returns a reference to the live list,
92       * not a snapshot. Therefore any modification you make to the
93       * returned list will be present inside the JAXB object.
94       * This is why there is not a <CODE>set</CODE> method for the businessService property.
95       * 
96       * <p>
97       * For example, to add a new item, do as follows:
98       * <pre>
99       *    getBusinessService().add(newItem);
100      * </pre>
101      * 
102      * 
103      * <p>
104      * Objects of the following type(s) are allowed in the list
105      * {@link BusinessService }
106      * 
107      * 
108      */
109     public List<BusinessService> getBusinessService() {
110         if (businessService == null) {
111             businessService = new ArrayList<BusinessService>();
112         }
113         return this.businessService;
114     }
115 
116 }