This project has retired. For details please refer to its Attic page.
Request xref
View Javadoc
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.XmlRootElement;
20  import javax.xml.bind.annotation.XmlType;
21  import javax.xml.namespace.QName;
22  import org.w3c.dom.Element;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType>
32   *   &lt;complexContent>
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34   *       &lt;sequence>
35   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}doc" maxOccurs="unbounded" minOccurs="0"/>
36   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}param" maxOccurs="unbounded" minOccurs="0"/>
37   *         &lt;element ref="{http://wadl.dev.java.net/2009/02}representation" maxOccurs="unbounded" minOccurs="0"/>
38   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
39   *       &lt;/sequence>
40   *       &lt;anyAttribute processContents='lax' namespace='##other'/>
41   *     &lt;/restriction>
42   *   &lt;/complexContent>
43   * &lt;/complexType>
44   * </pre>
45   * 
46   * 
47   */
48  @XmlAccessorType(XmlAccessType.FIELD)
49  @XmlType(name = "", propOrder = {
50      "doc",
51      "param",
52      "representation",
53      "any"
54  })
55  @XmlRootElement(name = "request")
56  public class Request {
57  
58      protected List<Doc> doc;
59      protected List<Param> param;
60      protected List<Representation> representation;
61      @XmlAnyElement(lax = true)
62      protected List<Object> any;
63      @XmlAnyAttribute
64      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
65  
66      /**
67       * Gets the value of the doc property.
68       * 
69       * <p>
70       * This accessor method returns a reference to the live list,
71       * not a snapshot. Therefore any modification you make to the
72       * returned list will be present inside the JAXB object.
73       * This is why there is not a <CODE>set</CODE> method for the doc property.
74       * 
75       * <p>
76       * For example, to add a new item, do as follows:
77       * <pre>
78       *    getDoc().add(newItem);
79       * </pre>
80       * 
81       * 
82       * <p>
83       * Objects of the following type(s) are allowed in the list
84       * {@link Doc }
85       * 
86       * 
87       */
88      public List<Doc> getDoc() {
89          if (doc == null) {
90              doc = new ArrayList<Doc>();
91          }
92          return this.doc;
93      }
94  
95      /**
96       * Gets the value of the param property.
97       * 
98       * <p>
99       * This accessor method returns a reference to the live list,
100      * not a snapshot. Therefore any modification you make to the
101      * returned list will be present inside the JAXB object.
102      * This is why there is not a <CODE>set</CODE> method for the param property.
103      * 
104      * <p>
105      * For example, to add a new item, do as follows:
106      * <pre>
107      *    getParam().add(newItem);
108      * </pre>
109      * 
110      * 
111      * <p>
112      * Objects of the following type(s) are allowed in the list
113      * {@link Param }
114      * 
115      * 
116      */
117     public List<Param> getParam() {
118         if (param == null) {
119             param = new ArrayList<Param>();
120         }
121         return this.param;
122     }
123 
124     /**
125      * Gets the value of the representation property.
126      * 
127      * <p>
128      * This accessor method returns a reference to the live list,
129      * not a snapshot. Therefore any modification you make to the
130      * returned list will be present inside the JAXB object.
131      * This is why there is not a <CODE>set</CODE> method for the representation property.
132      * 
133      * <p>
134      * For example, to add a new item, do as follows:
135      * <pre>
136      *    getRepresentation().add(newItem);
137      * </pre>
138      * 
139      * 
140      * <p>
141      * Objects of the following type(s) are allowed in the list
142      * {@link Representation }
143      * 
144      * 
145      */
146     public List<Representation> getRepresentation() {
147         if (representation == null) {
148             representation = new ArrayList<Representation>();
149         }
150         return this.representation;
151     }
152 
153     /**
154      * Gets the value of the any property.
155      * 
156      * <p>
157      * This accessor method returns a reference to the live list,
158      * not a snapshot. Therefore any modification you make to the
159      * returned list will be present inside the JAXB object.
160      * This is why there is not a <CODE>set</CODE> method for the any property.
161      * 
162      * <p>
163      * For example, to add a new item, do as follows:
164      * <pre>
165      *    getAny().add(newItem);
166      * </pre>
167      * 
168      * 
169      * <p>
170      * Objects of the following type(s) are allowed in the list
171      * {@link Element }
172      * {@link Object }
173      * 
174      * 
175      */
176     public List<Object> getAny() {
177         if (any == null) {
178             any = new ArrayList<Object>();
179         }
180         return this.any;
181     }
182 
183     /**
184      * Gets a map that contains attributes that aren't bound to any typed property on this class.
185      * 
186      * <p>
187      * the map is keyed by the name of the attribute and 
188      * the value is the string value of the attribute.
189      * 
190      * the map returned by this method is live, and you can add new attribute
191      * by updating the map directly. Because of this design, there's no setter.
192      * 
193      * 
194      * @return
195      *     always non-null
196      */
197     public Map<QName, String> getOtherAttributes() {
198         return otherAttributes;
199     }
200 
201 }