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