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}request" minOccurs="0"/> 42 * <element ref="{http://wadl.dev.java.net/2009/02}response" maxOccurs="unbounded" minOccurs="0"/> 43 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> 44 * </sequence> 45 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> 46 * <attribute name="name" type="{http://wadl.dev.java.net/2009/02}Method" /> 47 * <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> 48 * <anyAttribute processContents='lax' namespace='##other'/> 49 * </restriction> 50 * </complexContent> 51 * </complexType> 52 * </pre> 53 * 54 * 55 */ 56 @XmlAccessorType(XmlAccessType.FIELD) 57 @XmlType(name = "", propOrder = { 58 "doc", 59 "request", 60 "response", 61 "any" 62 }) 63 @XmlRootElement(name = "method") 64 public class Method { 65 66 protected List<Doc> doc; 67 protected Request request; 68 protected List<Response> response; 69 @XmlAnyElement(lax = true) 70 protected List<Object> any; 71 @XmlAttribute 72 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 73 @XmlID 74 @XmlSchemaType(name = "ID") 75 protected String id; 76 @XmlAttribute 77 protected String name; 78 @XmlAttribute 79 @XmlSchemaType(name = "anyURI") 80 protected String href; 81 @XmlAnyAttribute 82 private Map<QName, String> otherAttributes = new HashMap<QName, String>(); 83 84 /** 85 * Gets the value of the doc property. 86 * 87 * <p> 88 * This accessor method returns a reference to the live list, 89 * not a snapshot. Therefore any modification you make to the 90 * returned list will be present inside the JAXB object. 91 * This is why there is not a <CODE>set</CODE> method for the doc property. 92 * 93 * <p> 94 * For example, to add a new item, do as follows: 95 * <pre> 96 * getDoc().add(newItem); 97 * </pre> 98 * 99 * 100 * <p> 101 * Objects of the following type(s) are allowed in the list 102 * {@link Doc } 103 * 104 * 105 */ 106 public List<Doc> getDoc() { 107 if (doc == null) { 108 doc = new ArrayList<Doc>(); 109 } 110 return this.doc; 111 } 112 113 /** 114 * Gets the value of the request property. 115 * 116 * @return 117 * possible object is 118 * {@link Request } 119 * 120 */ 121 public Request getRequest() { 122 return request; 123 } 124 125 /** 126 * Sets the value of the request property. 127 * 128 * @param value 129 * allowed object is 130 * {@link Request } 131 * 132 */ 133 public void setRequest(Request value) { 134 this.request = value; 135 } 136 137 /** 138 * Gets the value of the response property. 139 * 140 * <p> 141 * This accessor method returns a reference to the live list, 142 * not a snapshot. Therefore any modification you make to the 143 * returned list will be present inside the JAXB object. 144 * This is why there is not a <CODE>set</CODE> method for the response property. 145 * 146 * <p> 147 * For example, to add a new item, do as follows: 148 * <pre> 149 * getResponse().add(newItem); 150 * </pre> 151 * 152 * 153 * <p> 154 * Objects of the following type(s) are allowed in the list 155 * {@link Response } 156 * 157 * 158 */ 159 public List<Response> getResponse() { 160 if (response == null) { 161 response = new ArrayList<Response>(); 162 } 163 return this.response; 164 } 165 166 /** 167 * Gets the value of the any property. 168 * 169 * <p> 170 * This accessor method returns a reference to the live list, 171 * not a snapshot. Therefore any modification you make to the 172 * returned list will be present inside the JAXB object. 173 * This is why there is not a <CODE>set</CODE> method for the any property. 174 * 175 * <p> 176 * For example, to add a new item, do as follows: 177 * <pre> 178 * getAny().add(newItem); 179 * </pre> 180 * 181 * 182 * <p> 183 * Objects of the following type(s) are allowed in the list 184 * {@link Element } 185 * {@link Object } 186 * 187 * 188 */ 189 public List<Object> getAny() { 190 if (any == null) { 191 any = new ArrayList<Object>(); 192 } 193 return this.any; 194 } 195 196 /** 197 * Gets the value of the id property. 198 * 199 * @return 200 * possible object is 201 * {@link String } 202 * 203 */ 204 public String getId() { 205 return id; 206 } 207 208 /** 209 * Sets the value of the id property. 210 * 211 * @param value 212 * allowed object is 213 * {@link String } 214 * 215 */ 216 public void setId(String value) { 217 this.id = value; 218 } 219 220 /** 221 * Gets the value of the name property. 222 * 223 * @return 224 * possible object is 225 * {@link String } 226 * 227 */ 228 public String getName() { 229 return name; 230 } 231 232 /** 233 * Sets the value of the name property. 234 * 235 * @param value 236 * allowed object is 237 * {@link String } 238 * 239 */ 240 public void setName(String value) { 241 this.name = value; 242 } 243 244 /** 245 * Gets the value of the href property. 246 * 247 * @return 248 * possible object is 249 * {@link String } 250 * 251 */ 252 public String getHref() { 253 return href; 254 } 255 256 /** 257 * Sets the value of the href property. 258 * 259 * @param value 260 * allowed object is 261 * {@link String } 262 * 263 */ 264 public void setHref(String value) { 265 this.href = value; 266 } 267 268 /** 269 * Gets a map that contains attributes that aren't bound to any typed property on this class. 270 * 271 * <p> 272 * the map is keyed by the name of the attribute and 273 * the value is the string value of the attribute. 274 * 275 * the map returned by this method is live, and you can add new attribute 276 * by updating the map directly. Because of this design, there's no setter. 277 * 278 * 279 * @return 280 * always non-null 281 */ 282 public Map<QName, String> getOtherAttributes() { 283 return otherAttributes; 284 } 285 286 }