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