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