This project has retired. For details please refer to its Attic page.
BindingTemplate 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.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 bindingTemplate complex type.
36   * 
37   * <p>The following schema fragment specifies the expected content contained within this class.
38   * 
39   * <pre>
40   * &lt;complexType name="bindingTemplate">
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}description" maxOccurs="unbounded" minOccurs="0"/>
45   *         &lt;choice>
46   *           &lt;element ref="{urn:uddi-org:api_v3}accessPoint"/>
47   *           &lt;element ref="{urn:uddi-org:api_v3}hostingRedirector"/>
48   *         &lt;/choice>
49   *         &lt;element ref="{urn:uddi-org:api_v3}tModelInstanceDetails" 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="bindingKey" type="{urn:uddi-org:api_v3}bindingKey" />
54   *       &lt;attribute name="serviceKey" type="{urn:uddi-org:api_v3}serviceKey" />
55   *     &lt;/restriction>
56   *   &lt;/complexContent>
57   * &lt;/complexType>
58   * </pre>
59   * 
60   * 
61   */
62  @XmlAccessorType(XmlAccessType.FIELD)
63  @XmlType(name = "bindingTemplate", propOrder = {
64      "description",
65      "accessPoint",
66      "hostingRedirector",
67      "tModelInstanceDetails",
68      "categoryBag",
69      "signature"
70  })
71  @XmlRootElement()
72  public class BindingTemplate implements Serializable{
73  	@XmlTransient
74  	private static final long serialVersionUID = 4486129441515025032L;
75  	protected List<Description> description;
76      protected AccessPoint accessPoint;
77      protected HostingRedirector hostingRedirector;
78      protected TModelInstanceDetails tModelInstanceDetails;
79      protected CategoryBag categoryBag;
80      @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#")
81      protected List<SignatureType> signature;
82      @XmlAttribute
83      protected String bindingKey;
84      @XmlAttribute
85      protected String serviceKey;
86  
87      /**
88       * Gets the value of the description 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 description property.
95       * 
96       * <p>
97       * For example, to add a new item, do as follows:
98       * <pre>
99       *    getDescription().add(newItem);
100      * </pre>
101      * 
102      * 
103      * <p>
104      * Objects of the following type(s) are allowed in the list
105      * {@link Description }
106      * 
107      * 
108      */
109     public List<Description> getDescription() {
110         if (description == null) {
111             description = new ArrayList<Description>();
112         }
113         return this.description;
114     }
115 
116     /**
117      * Gets the value of the accessPoint property.
118      * 
119      * @return
120      *     possible object is
121      *     {@link AccessPoint }
122      *     
123      */
124     public AccessPoint getAccessPoint() {
125         return accessPoint;
126     }
127 
128     /**
129      * Sets the value of the accessPoint property.
130      * 
131      * @param value
132      *     allowed object is
133      *     {@link AccessPoint }
134      *     
135      */
136     public void setAccessPoint(AccessPoint value) {
137         this.accessPoint = value;
138     }
139 
140     /**
141      * Gets the value of the hostingRedirector property.
142      * 
143      * @return
144      *     possible object is
145      *     {@link HostingRedirector }
146      *     
147      */
148     public HostingRedirector getHostingRedirector() {
149         return hostingRedirector;
150     }
151 
152     /**
153      * Sets the value of the hostingRedirector property.
154      * 
155      * @param value
156      *     allowed object is
157      *     {@link HostingRedirector }
158      *     
159      */
160     public void setHostingRedirector(HostingRedirector value) {
161         this.hostingRedirector = value;
162     }
163 
164     /**
165      * Gets the value of the tModelInstanceDetails property.
166      * 
167      * @return
168      *     possible object is
169      *     {@link TModelInstanceDetails }
170      *     
171      */
172     public TModelInstanceDetails getTModelInstanceDetails() {
173         return tModelInstanceDetails;
174     }
175 
176     /**
177      * Sets the value of the tModelInstanceDetails property.
178      * 
179      * @param value
180      *     allowed object is
181      *     {@link TModelInstanceDetails }
182      *     
183      */
184     public void setTModelInstanceDetails(TModelInstanceDetails value) {
185         this.tModelInstanceDetails = value;
186     }
187 
188     /**
189      * Gets the value of the categoryBag property.
190      * 
191      * @return
192      *     possible object is
193      *     {@link CategoryBag }
194      *     
195      */
196     public CategoryBag getCategoryBag() {
197         return categoryBag;
198     }
199 
200     /**
201      * Sets the value of the categoryBag property.
202      * 
203      * @param value
204      *     allowed object is
205      *     {@link CategoryBag }
206      *     
207      */
208     public void setCategoryBag(CategoryBag value) {
209         this.categoryBag = value;
210     }
211 
212     /**
213      * Gets the value of the signature property.
214      * 
215      * <p>
216      * This accessor method returns a reference to the live list,
217      * not a snapshot. Therefore any modification you make to the
218      * returned list will be present inside the JAXB object.
219      * This is why there is not a <CODE>set</CODE> method for the signature property.
220      * 
221      * <p>
222      * For example, to add a new item, do as follows:
223      * <pre>
224      *    getSignature().add(newItem);
225      * </pre>
226      * 
227      * 
228      * <p>
229      * Objects of the following type(s) are allowed in the list
230      * {@link SignatureType }
231      * 
232      * 
233      */
234     public List<SignatureType> getSignature() {
235         if (signature == null) {
236             signature = new ArrayList<SignatureType>();
237         }
238         return this.signature;
239     }
240 
241     /**
242      * Gets the value of the bindingKey property.
243      * 
244      * @return
245      *     possible object is
246      *     {@link String }
247      *     
248      */
249     public String getBindingKey() {
250         return bindingKey;
251     }
252 
253     /**
254      * Sets the value of the bindingKey property.
255      * 
256      * @param value
257      *     allowed object is
258      *     {@link String }
259      *     
260      */
261     public void setBindingKey(String value) {
262         this.bindingKey = value;
263     }
264 
265     /**
266      * Gets the value of the serviceKey property.
267      * 
268      * @return
269      *     possible object is
270      *     {@link String }
271      *     
272      */
273     public String getServiceKey() {
274         return serviceKey;
275     }
276 
277     /**
278      * Sets the value of the serviceKey property.
279      * 
280      * @param value
281      *     allowed object is
282      *     {@link String }
283      *     
284      */
285     public void setServiceKey(String value) {
286         this.serviceKey = value;
287     }
288 
289 }