1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2013.05.27 at 06:54:03 PM EDT
6 //
7
8
9 package org.apache.juddi.v3.client.mapping.wadl;
10
11 import java.util.ArrayList;
12 import java.util.HashMap;
13 import java.util.List;
14 import java.util.Map;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlAnyAttribute;
18 import javax.xml.bind.annotation.XmlAnyElement;
19 import javax.xml.bind.annotation.XmlAttribute;
20 import javax.xml.bind.annotation.XmlID;
21 import javax.xml.bind.annotation.XmlRootElement;
22 import javax.xml.bind.annotation.XmlSchemaType;
23 import javax.xml.bind.annotation.XmlType;
24 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
25 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
26 import javax.xml.namespace.QName;
27 import org.w3c.dom.Element;
28
29
30 /**
31 * <p>Java class for anonymous complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * <complexType>
37 * <complexContent>
38 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 * <sequence>
40 * <element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
41 * <element ref="{http://wadl.dev.java.net/2009/02}option" maxOccurs="unbounded" minOccurs="0"/>
42 * <element ref="{http://wadl.dev.java.net/2009/02}link" minOccurs="0"/>
43 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
44 * </sequence>
45 * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
46 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
47 * <attribute name="style" type="{http://wadl.dev.java.net/2009/02}ParamStyle" />
48 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
49 * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" default="xs:string" />
50 * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
51 * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
52 * <attribute name="repeating" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
53 * <attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
54 * <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
55 * <anyAttribute processContents='lax' namespace='##other'/>
56 * </restriction>
57 * </complexContent>
58 * </complexType>
59 * </pre>
60 *
61 *
62 */
63 @XmlAccessorType(XmlAccessType.FIELD)
64 @XmlType(name = "", propOrder = {
65 "doc",
66 "option",
67 "link",
68 "any"
69 })
70 @XmlRootElement(name = "param")
71 public class Param {
72
73 protected List<Doc> doc;
74 protected List<Option> option;
75 protected Link link;
76 @XmlAnyElement(lax = true)
77 protected List<Object> any;
78 @XmlAttribute
79 @XmlSchemaType(name = "anyURI")
80 protected String href;
81 @XmlAttribute
82 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
83 @XmlSchemaType(name = "NMTOKEN")
84 protected String name;
85 @XmlAttribute
86 protected ParamStyle style;
87 @XmlAttribute
88 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
89 @XmlID
90 @XmlSchemaType(name = "ID")
91 protected String id;
92 @XmlAttribute
93 protected QName type;
94 @XmlAttribute(name = "default")
95 protected String _default;
96 @XmlAttribute
97 protected Boolean required;
98 @XmlAttribute
99 protected Boolean repeating;
100 @XmlAttribute
101 protected String fixed;
102 @XmlAttribute
103 protected String path;
104 @XmlAnyAttribute
105 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
106
107 /**
108 * Gets the value of the doc property.
109 *
110 * <p>
111 * This accessor method returns a reference to the live list,
112 * not a snapshot. Therefore any modification you make to the
113 * returned list will be present inside the JAXB object.
114 * This is why there is not a <CODE>set</CODE> method for the doc property.
115 *
116 * <p>
117 * For example, to add a new item, do as follows:
118 * <pre>
119 * getDoc().add(newItem);
120 * </pre>
121 *
122 *
123 * <p>
124 * Objects of the following type(s) are allowed in the list
125 * {@link Doc }
126 *
127 *
128 */
129 public List<Doc> getDoc() {
130 if (doc == null) {
131 doc = new ArrayList<Doc>();
132 }
133 return this.doc;
134 }
135
136 /**
137 * Gets the value of the option property.
138 *
139 * <p>
140 * This accessor method returns a reference to the live list,
141 * not a snapshot. Therefore any modification you make to the
142 * returned list will be present inside the JAXB object.
143 * This is why there is not a <CODE>set</CODE> method for the option property.
144 *
145 * <p>
146 * For example, to add a new item, do as follows:
147 * <pre>
148 * getOption().add(newItem);
149 * </pre>
150 *
151 *
152 * <p>
153 * Objects of the following type(s) are allowed in the list
154 * {@link Option }
155 *
156 *
157 */
158 public List<Option> getOption() {
159 if (option == null) {
160 option = new ArrayList<Option>();
161 }
162 return this.option;
163 }
164
165 /**
166 * Gets the value of the link property.
167 *
168 * @return
169 * possible object is
170 * {@link Link }
171 *
172 */
173 public Link getLink() {
174 return link;
175 }
176
177 /**
178 * Sets the value of the link property.
179 *
180 * @param value
181 * allowed object is
182 * {@link Link }
183 *
184 */
185 public void setLink(Link value) {
186 this.link = value;
187 }
188
189 /**
190 * Gets the value of the any property.
191 *
192 * <p>
193 * This accessor method returns a reference to the live list,
194 * not a snapshot. Therefore any modification you make to the
195 * returned list will be present inside the JAXB object.
196 * This is why there is not a <CODE>set</CODE> method for the any property.
197 *
198 * <p>
199 * For example, to add a new item, do as follows:
200 * <pre>
201 * getAny().add(newItem);
202 * </pre>
203 *
204 *
205 * <p>
206 * Objects of the following type(s) are allowed in the list
207 * {@link Element }
208 * {@link Object }
209 *
210 *
211 */
212 public List<Object> getAny() {
213 if (any == null) {
214 any = new ArrayList<Object>();
215 }
216 return this.any;
217 }
218
219 /**
220 * Gets the value of the href property.
221 *
222 * @return
223 * possible object is
224 * {@link String }
225 *
226 */
227 public String getHref() {
228 return href;
229 }
230
231 /**
232 * Sets the value of the href property.
233 *
234 * @param value
235 * allowed object is
236 * {@link String }
237 *
238 */
239 public void setHref(String value) {
240 this.href = value;
241 }
242
243 /**
244 * Gets the value of the name property.
245 *
246 * @return
247 * possible object is
248 * {@link String }
249 *
250 */
251 public String getName() {
252 return name;
253 }
254
255 /**
256 * Sets the value of the name property.
257 *
258 * @param value
259 * allowed object is
260 * {@link String }
261 *
262 */
263 public void setName(String value) {
264 this.name = value;
265 }
266
267 /**
268 * Gets the value of the style property.
269 *
270 * @return
271 * possible object is
272 * {@link ParamStyle }
273 *
274 */
275 public ParamStyle getStyle() {
276 return style;
277 }
278
279 /**
280 * Sets the value of the style property.
281 *
282 * @param value
283 * allowed object is
284 * {@link ParamStyle }
285 *
286 */
287 public void setStyle(ParamStyle value) {
288 this.style = value;
289 }
290
291 /**
292 * Gets the value of the id property.
293 *
294 * @return
295 * possible object is
296 * {@link String }
297 *
298 */
299 public String getId() {
300 return id;
301 }
302
303 /**
304 * Sets the value of the id property.
305 *
306 * @param value
307 * allowed object is
308 * {@link String }
309 *
310 */
311 public void setId(String value) {
312 this.id = value;
313 }
314
315 /**
316 * Gets the value of the type property.
317 *
318 * @return
319 * possible object is
320 * {@link QName }
321 *
322 */
323 public QName getType() {
324 if (type == null) {
325 return new QName("http://www.w3.org/2001/XMLSchema", "string", "xs");
326 } else {
327 return type;
328 }
329 }
330
331 /**
332 * Sets the value of the type property.
333 *
334 * @param value
335 * allowed object is
336 * {@link QName }
337 *
338 */
339 public void setType(QName value) {
340 this.type = value;
341 }
342
343 /**
344 * Gets the value of the default property.
345 *
346 * @return
347 * possible object is
348 * {@link String }
349 *
350 */
351 public String getDefault() {
352 return _default;
353 }
354
355 /**
356 * Sets the value of the default property.
357 *
358 * @param value
359 * allowed object is
360 * {@link String }
361 *
362 */
363 public void setDefault(String value) {
364 this._default = value;
365 }
366
367 /**
368 * Gets the value of the required property.
369 *
370 * @return
371 * possible object is
372 * {@link Boolean }
373 *
374 */
375 public boolean isRequired() {
376 if (required == null) {
377 return false;
378 } else {
379 return required;
380 }
381 }
382
383 /**
384 * Sets the value of the required property.
385 *
386 * @param value
387 * allowed object is
388 * {@link Boolean }
389 *
390 */
391 public void setRequired(Boolean value) {
392 this.required = value;
393 }
394
395 /**
396 * Gets the value of the repeating property.
397 *
398 * @return
399 * possible object is
400 * {@link Boolean }
401 *
402 */
403 public boolean isRepeating() {
404 if (repeating == null) {
405 return false;
406 } else {
407 return repeating;
408 }
409 }
410
411 /**
412 * Sets the value of the repeating property.
413 *
414 * @param value
415 * allowed object is
416 * {@link Boolean }
417 *
418 */
419 public void setRepeating(Boolean value) {
420 this.repeating = value;
421 }
422
423 /**
424 * Gets the value of the fixed property.
425 *
426 * @return
427 * possible object is
428 * {@link String }
429 *
430 */
431 public String getFixed() {
432 return fixed;
433 }
434
435 /**
436 * Sets the value of the fixed property.
437 *
438 * @param value
439 * allowed object is
440 * {@link String }
441 *
442 */
443 public void setFixed(String value) {
444 this.fixed = value;
445 }
446
447 /**
448 * Gets the value of the path property.
449 *
450 * @return
451 * possible object is
452 * {@link String }
453 *
454 */
455 public String getPath() {
456 return path;
457 }
458
459 /**
460 * Sets the value of the path property.
461 *
462 * @param value
463 * allowed object is
464 * {@link String }
465 *
466 */
467 public void setPath(String value) {
468 this.path = value;
469 }
470
471 /**
472 * Gets a map that contains attributes that aren't bound to any typed property on this class.
473 *
474 * <p>
475 * the map is keyed by the name of the attribute and
476 * the value is the string value of the attribute.
477 *
478 * the map returned by this method is live, and you can add new attribute
479 * by updating the map directly. Because of this design, there's no setter.
480 *
481 *
482 * @return
483 * always non-null
484 */
485 public Map<QName, String> getOtherAttributes() {
486 return otherAttributes;
487 }
488
489 }