This project has retired. For details please refer to its Attic page.
KeyBag 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.sub_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.XmlRootElement;
28  import javax.xml.bind.annotation.XmlTransient;
29  import javax.xml.bind.annotation.XmlType;
30  
31  
32  /**
33   * <p>Java class for keyBag complex type.
34   * 
35   * <p>The following schema fragment specifies the expected content contained within this class.
36   * 
37   * <pre>
38   * &lt;complexType name="keyBag">
39   *   &lt;complexContent>
40   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41   *       &lt;sequence>
42   *         &lt;element ref="{urn:uddi-org:sub_v3}deleted"/>
43   *         &lt;choice>
44   *           &lt;element ref="{urn:uddi-org:api_v3}tModelKey" maxOccurs="unbounded"/>
45   *           &lt;element ref="{urn:uddi-org:api_v3}businessKey" maxOccurs="unbounded"/>
46   *           &lt;element ref="{urn:uddi-org:api_v3}serviceKey" maxOccurs="unbounded"/>
47   *           &lt;element ref="{urn:uddi-org:api_v3}bindingKey" maxOccurs="unbounded"/>
48   *         &lt;/choice>
49   *       &lt;/sequence>
50   *     &lt;/restriction>
51   *   &lt;/complexContent>
52   * &lt;/complexType>
53   * </pre>
54   * 
55   * 
56   */
57  @XmlAccessorType(XmlAccessType.FIELD)
58  @XmlType(name = "keyBag", propOrder = {
59      "deleted",
60      "tModelKey",
61      "businessKey",
62      "serviceKey",
63      "bindingKey"
64  })
65   @XmlRootElement()                //required for REST APIs
66  public class KeyBag implements Serializable{
67  	@XmlTransient
68  	private static final long serialVersionUID = -4702163443625186185L;
69  	protected boolean deleted;
70      @XmlElement(namespace = "urn:uddi-org:api_v3")
71      protected List<String> tModelKey;
72      @XmlElement(namespace = "urn:uddi-org:api_v3")
73      protected List<String> businessKey;
74      @XmlElement(namespace = "urn:uddi-org:api_v3")
75      protected List<String> serviceKey;
76      @XmlElement(namespace = "urn:uddi-org:api_v3")
77      protected List<String> bindingKey;
78  
79      /**
80       * Gets the value of the deleted property.
81       * 
82       */
83      public boolean isDeleted() {
84          return deleted;
85      }
86  
87      /**
88       * Sets the value of the deleted property.
89       * 
90       */
91      public void setDeleted(boolean value) {
92          this.deleted = value;
93      }
94  
95      /**
96       * Gets the value of the tModelKey property.
97       * 
98       * <p>
99       * This accessor method returns a reference to the live list,
100      * not a snapshot. Therefore any modification you make to the
101      * returned list will be present inside the JAXB object.
102      * This is why there is not a <CODE>set</CODE> method for the tModelKey property.
103      * 
104      * <p>
105      * For example, to add a new item, do as follows:
106      * <pre>
107      *    getTModelKey().add(newItem);
108      * </pre>
109      * 
110      * 
111      * <p>
112      * Objects of the following type(s) are allowed in the list
113      * {@link String }
114      * 
115      * 
116      */
117     public List<String> getTModelKey() {
118         if (tModelKey == null) {
119             tModelKey = new ArrayList<String>();
120         }
121         return this.tModelKey;
122     }
123 
124     /**
125      * Gets the value of the businessKey property.
126      * 
127      * <p>
128      * This accessor method returns a reference to the live list,
129      * not a snapshot. Therefore any modification you make to the
130      * returned list will be present inside the JAXB object.
131      * This is why there is not a <CODE>set</CODE> method for the businessKey property.
132      * 
133      * <p>
134      * For example, to add a new item, do as follows:
135      * <pre>
136      *    getBusinessKey().add(newItem);
137      * </pre>
138      * 
139      * 
140      * <p>
141      * Objects of the following type(s) are allowed in the list
142      * {@link String }
143      * 
144      * 
145      */
146     public List<String> getBusinessKey() {
147         if (businessKey == null) {
148             businessKey = new ArrayList<String>();
149         }
150         return this.businessKey;
151     }
152 
153     /**
154      * Gets the value of the serviceKey property.
155      * 
156      * <p>
157      * This accessor method returns a reference to the live list,
158      * not a snapshot. Therefore any modification you make to the
159      * returned list will be present inside the JAXB object.
160      * This is why there is not a <CODE>set</CODE> method for the serviceKey property.
161      * 
162      * <p>
163      * For example, to add a new item, do as follows:
164      * <pre>
165      *    getServiceKey().add(newItem);
166      * </pre>
167      * 
168      * 
169      * <p>
170      * Objects of the following type(s) are allowed in the list
171      * {@link String }
172      * 
173      * 
174      */
175     public List<String> getServiceKey() {
176         if (serviceKey == null) {
177             serviceKey = new ArrayList<String>();
178         }
179         return this.serviceKey;
180     }
181 
182     /**
183      * Gets the value of the bindingKey property.
184      * 
185      * <p>
186      * This accessor method returns a reference to the live list,
187      * not a snapshot. Therefore any modification you make to the
188      * returned list will be present inside the JAXB object.
189      * This is why there is not a <CODE>set</CODE> method for the bindingKey property.
190      * 
191      * <p>
192      * For example, to add a new item, do as follows:
193      * <pre>
194      *    getBindingKey().add(newItem);
195      * </pre>
196      * 
197      * 
198      * <p>
199      * Objects of the following type(s) are allowed in the list
200      * {@link String }
201      * 
202      * 
203      */
204     public List<String> getBindingKey() {
205         if (bindingKey == null) {
206             bindingKey = new ArrayList<String>();
207         }
208         return this.bindingKey;
209     }
210 
211 }