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