src/share/jaxws_classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/JavaWsdlMappingType.java

Tue, 23 Apr 2013 18:33:20 -0700

author
katleman
date
Tue, 23 Apr 2013 18:33:20 -0700
changeset 374
72e03566f0a6
parent 368
0989ad8c0860
child 637
9c07ef4934dd
permissions
-rw-r--r--

8012643: JDK8 b86 source with GPL header errors
Reviewed-by: dholmes, alanb

alanb@368 1 /*
katleman@374 2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
katleman@374 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
alanb@368 4 *
katleman@374 5 * This code is free software; you can redistribute it and/or modify it
katleman@374 6 * under the terms of the GNU General Public License version 2 only, as
katleman@374 7 * published by the Free Software Foundation. Oracle designates this
katleman@374 8 * particular file as subject to the "Classpath" exception as provided
katleman@374 9 * by Oracle in the LICENSE file that accompanied this code.
alanb@368 10 *
katleman@374 11 * This code is distributed in the hope that it will be useful, but WITHOUT
katleman@374 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
katleman@374 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
katleman@374 14 * version 2 for more details (a copy is included in the LICENSE file that
katleman@374 15 * accompanied this code).
alanb@368 16 *
katleman@374 17 * You should have received a copy of the GNU General Public License version
katleman@374 18 * 2 along with this work; if not, write to the Free Software Foundation,
katleman@374 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
alanb@368 20 *
katleman@374 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
katleman@374 22 * or visit www.oracle.com if you need additional information or have any
katleman@374 23 * questions.
alanb@368 24 */
katleman@374 25
alanb@368 26 package com.oracle.xmlns.internal.webservices.jaxws_databinding;
alanb@368 27 import org.w3c.dom.Element;
alanb@368 28
alanb@368 29 import javax.xml.bind.annotation.XmlAccessType;
alanb@368 30 import javax.xml.bind.annotation.XmlAccessorType;
alanb@368 31 import javax.xml.bind.annotation.XmlAnyAttribute;
alanb@368 32 import javax.xml.bind.annotation.XmlAnyElement;
alanb@368 33 import javax.xml.bind.annotation.XmlAttribute;
alanb@368 34 import javax.xml.bind.annotation.XmlElement;
alanb@368 35 import javax.xml.bind.annotation.XmlElementRef;
alanb@368 36 import javax.xml.bind.annotation.XmlElementRefs;
alanb@368 37 import javax.xml.bind.annotation.XmlType;
alanb@368 38 import javax.xml.namespace.QName;
alanb@368 39 import java.util.ArrayList;
alanb@368 40 import java.util.HashMap;
alanb@368 41 import java.util.List;
alanb@368 42 import java.util.Map;
alanb@368 43
alanb@368 44
alanb@368 45 /**
alanb@368 46 * This file was generated by JAXB-RI v2.2.6 and afterwards modified
alanb@368 47 * to implement appropriate Annotation
alanb@368 48 *
alanb@368 49 * <p>Java class for java-wsdl-mapping-type complex type.
alanb@368 50 *
alanb@368 51 * <p>The following schema fragment specifies the expected content contained within this class.
alanb@368 52 *
alanb@368 53 * <pre>
alanb@368 54 * &lt;complexType name="java-wsdl-mapping-type">
alanb@368 55 * &lt;complexContent>
alanb@368 56 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
alanb@368 57 * &lt;sequence>
alanb@368 58 * &lt;element name="xml-schema-mapping" minOccurs="0">
alanb@368 59 * &lt;complexType>
alanb@368 60 * &lt;complexContent>
alanb@368 61 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
alanb@368 62 * &lt;sequence>
alanb@368 63 * &lt;any maxOccurs="unbounded" minOccurs="0"/>
alanb@368 64 * &lt;/sequence>
alanb@368 65 * &lt;/restriction>
alanb@368 66 * &lt;/complexContent>
alanb@368 67 * &lt;/complexType>
alanb@368 68 * &lt;/element>
alanb@368 69 * &lt;group ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}class-annotation" maxOccurs="unbounded" minOccurs="0"/>
alanb@368 70 * &lt;element name="java-methods" minOccurs="0">
alanb@368 71 * &lt;complexType>
alanb@368 72 * &lt;complexContent>
alanb@368 73 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
alanb@368 74 * &lt;sequence>
alanb@368 75 * &lt;element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}java-method" maxOccurs="unbounded" minOccurs="0"/>
alanb@368 76 * &lt;/sequence>
alanb@368 77 * &lt;/restriction>
alanb@368 78 * &lt;/complexContent>
alanb@368 79 * &lt;/complexType>
alanb@368 80 * &lt;/element>
alanb@368 81 * &lt;/sequence>
alanb@368 82 * &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
alanb@368 83 * &lt;attribute name="java-type-name" type="{http://www.w3.org/2001/XMLSchema}string" />
alanb@368 84 * &lt;attribute name="existing-annotations" type="{http://xmlns.oracle.com/webservices/jaxws-databinding}existing-annotations-type" />
alanb@368 85 * &lt;attribute name="databinding" type="{http://www.w3.org/2001/XMLSchema}string" />
alanb@368 86 * &lt;anyAttribute processContents='skip' namespace='##other'/>
alanb@368 87 * &lt;/restriction>
alanb@368 88 * &lt;/complexContent>
alanb@368 89 * &lt;/complexType>
alanb@368 90 * </pre>
alanb@368 91 *
alanb@368 92 *
alanb@368 93 */
alanb@368 94 @XmlAccessorType(XmlAccessType.FIELD)
alanb@368 95 @XmlType(name = "java-wsdl-mapping-type", propOrder = {
alanb@368 96 "xmlSchemaMapping",
alanb@368 97 "classAnnotation",
alanb@368 98 "javaMethods"
alanb@368 99 })
alanb@368 100 public class JavaWsdlMappingType {
alanb@368 101
alanb@368 102 @XmlElement(name = "xml-schema-mapping")
alanb@368 103 protected JavaWsdlMappingType.XmlSchemaMapping xmlSchemaMapping;
alanb@368 104 @XmlElementRefs({
alanb@368 105 @XmlElementRef(name = "web-service-client", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebServiceClient.class, required = false),
alanb@368 106 @XmlElementRef(name = "binding-type", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlBindingType.class, required = false),
alanb@368 107 @XmlElementRef(name = "web-service", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebService.class, required = false),
alanb@368 108 @XmlElementRef(name = "web-fault", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlWebFault.class, required = false),
alanb@368 109 @XmlElementRef(name = "service-mode", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlServiceMode.class, required = false),
alanb@368 110 @XmlElementRef(name = "mtom", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlMTOM.class, required = false),
alanb@368 111 @XmlElementRef(name = "handler-chain", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlHandlerChain.class, required = false),
alanb@368 112 @XmlElementRef(name = "soap-binding", namespace = "http://xmlns.oracle.com/webservices/jaxws-databinding", type = XmlSOAPBinding.class, required = false)
alanb@368 113 })
alanb@368 114 @XmlAnyElement
alanb@368 115 protected List<Object> classAnnotation;
alanb@368 116 @XmlElement(name = "java-methods")
alanb@368 117 protected JavaWsdlMappingType.JavaMethods javaMethods;
alanb@368 118 @XmlAttribute(name = "name")
alanb@368 119 protected String name;
alanb@368 120 @XmlAttribute(name = "java-type-name")
alanb@368 121 protected String javaTypeName;
alanb@368 122 @XmlAttribute(name = "existing-annotations")
alanb@368 123 protected ExistingAnnotationsType existingAnnotations;
alanb@368 124 @XmlAttribute(name = "databinding")
alanb@368 125 protected String databinding;
alanb@368 126 @XmlAnyAttribute
alanb@368 127 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
alanb@368 128
alanb@368 129 /**
alanb@368 130 * Gets the value of the xmlSchemaMapping property.
alanb@368 131 *
alanb@368 132 * @return
alanb@368 133 * possible object is
alanb@368 134 * {@link JavaWsdlMappingType.XmlSchemaMapping }
alanb@368 135 *
alanb@368 136 */
alanb@368 137 public JavaWsdlMappingType.XmlSchemaMapping getXmlSchemaMapping() {
alanb@368 138 return xmlSchemaMapping;
alanb@368 139 }
alanb@368 140
alanb@368 141 /**
alanb@368 142 * Sets the value of the xmlSchemaMapping property.
alanb@368 143 *
alanb@368 144 * @param value
alanb@368 145 * allowed object is
alanb@368 146 * {@link JavaWsdlMappingType.XmlSchemaMapping }
alanb@368 147 *
alanb@368 148 */
alanb@368 149 public void setXmlSchemaMapping(JavaWsdlMappingType.XmlSchemaMapping value) {
alanb@368 150 this.xmlSchemaMapping = value;
alanb@368 151 }
alanb@368 152
alanb@368 153 /**
alanb@368 154 *
alanb@368 155 * The class-annotation group defines the set of
alanb@368 156 * annotations applicable to the Java class
alanb@368 157 * declaration.
alanb@368 158 * Gets the value of the classAnnotation property.
alanb@368 159 *
alanb@368 160 * <p>
alanb@368 161 * This accessor method returns a reference to the live list,
alanb@368 162 * not a snapshot. Therefore any modification you make to the
alanb@368 163 * returned list will be present inside the JAXB object.
alanb@368 164 * This is why there is not a <CODE>set</CODE> method for the classAnnotation property.
alanb@368 165 *
alanb@368 166 * <p>
alanb@368 167 * For example, to add a new item, do as follows:
alanb@368 168 * <pre>
alanb@368 169 * getClassAnnotation().add(newItem);
alanb@368 170 * </pre>
alanb@368 171 *
alanb@368 172 *
alanb@368 173 * <p>
alanb@368 174 * Objects of the following type(s) are allowed in the list
alanb@368 175 * {@link XmlWebServiceClient }
alanb@368 176 * {@link XmlBindingType }
alanb@368 177 * {@link XmlWebService }
alanb@368 178 * {@link XmlWebFault }
alanb@368 179 * {@link XmlServiceMode }
alanb@368 180 * {@link XmlMTOM }
alanb@368 181 * {@link XmlHandlerChain }
alanb@368 182 * {@link Element }
alanb@368 183 * {@link XmlSOAPBinding }
alanb@368 184 *
alanb@368 185 *
alanb@368 186 */
alanb@368 187 public List<Object> getClassAnnotation() {
alanb@368 188 if (classAnnotation == null) {
alanb@368 189 classAnnotation = new ArrayList<Object>();
alanb@368 190 }
alanb@368 191 return this.classAnnotation;
alanb@368 192 }
alanb@368 193
alanb@368 194 /**
alanb@368 195 * Gets the value of the javaMethods property.
alanb@368 196 *
alanb@368 197 * @return
alanb@368 198 * possible object is
alanb@368 199 * {@link JavaWsdlMappingType.JavaMethods }
alanb@368 200 *
alanb@368 201 */
alanb@368 202 public JavaWsdlMappingType.JavaMethods getJavaMethods() {
alanb@368 203 return javaMethods;
alanb@368 204 }
alanb@368 205
alanb@368 206 /**
alanb@368 207 * Sets the value of the javaMethods property.
alanb@368 208 *
alanb@368 209 * @param value
alanb@368 210 * allowed object is
alanb@368 211 * {@link JavaWsdlMappingType.JavaMethods }
alanb@368 212 *
alanb@368 213 */
alanb@368 214 public void setJavaMethods(JavaWsdlMappingType.JavaMethods value) {
alanb@368 215 this.javaMethods = value;
alanb@368 216 }
alanb@368 217
alanb@368 218 /**
alanb@368 219 * Gets the value of the name property.
alanb@368 220 *
alanb@368 221 * @return
alanb@368 222 * possible object is
alanb@368 223 * {@link String }
alanb@368 224 *
alanb@368 225 */
alanb@368 226 public String getName() {
alanb@368 227 return name;
alanb@368 228 }
alanb@368 229
alanb@368 230 /**
alanb@368 231 * Sets the value of the name property.
alanb@368 232 *
alanb@368 233 * @param value
alanb@368 234 * allowed object is
alanb@368 235 * {@link String }
alanb@368 236 *
alanb@368 237 */
alanb@368 238 public void setName(String value) {
alanb@368 239 this.name = value;
alanb@368 240 }
alanb@368 241
alanb@368 242 /**
alanb@368 243 * Gets the value of the javaTypeName property.
alanb@368 244 *
alanb@368 245 * @return
alanb@368 246 * possible object is
alanb@368 247 * {@link String }
alanb@368 248 *
alanb@368 249 */
alanb@368 250 public String getJavaTypeName() {
alanb@368 251 return javaTypeName;
alanb@368 252 }
alanb@368 253
alanb@368 254 /**
alanb@368 255 * Sets the value of the javaTypeName property.
alanb@368 256 *
alanb@368 257 * @param value
alanb@368 258 * allowed object is
alanb@368 259 * {@link String }
alanb@368 260 *
alanb@368 261 */
alanb@368 262 public void setJavaTypeName(String value) {
alanb@368 263 this.javaTypeName = value;
alanb@368 264 }
alanb@368 265
alanb@368 266 /**
alanb@368 267 * Gets the value of the classAnnotations property.
alanb@368 268 *
alanb@368 269 * @return
alanb@368 270 * possible object is
alanb@368 271 * {@link ExistingAnnotationsType }
alanb@368 272 *
alanb@368 273 */
alanb@368 274 public ExistingAnnotationsType getExistingAnnotations() {
alanb@368 275 return existingAnnotations;
alanb@368 276 }
alanb@368 277
alanb@368 278 /**
alanb@368 279 * Sets the value of the classAnnotations property.
alanb@368 280 *
alanb@368 281 * @param value
alanb@368 282 * allowed object is
alanb@368 283 * {@link ExistingAnnotationsType }
alanb@368 284 *
alanb@368 285 */
alanb@368 286 public void setExistingAnnotations(ExistingAnnotationsType value) {
alanb@368 287 this.existingAnnotations = value;
alanb@368 288 }
alanb@368 289
alanb@368 290 /**
alanb@368 291 * Gets the value of the databinding property.
alanb@368 292 *
alanb@368 293 * @return
alanb@368 294 * possible object is
alanb@368 295 * {@link String }
alanb@368 296 *
alanb@368 297 */
alanb@368 298 public String getDatabinding() {
alanb@368 299 return databinding;
alanb@368 300 }
alanb@368 301
alanb@368 302 /**
alanb@368 303 * Sets the value of the databinding property.
alanb@368 304 *
alanb@368 305 * @param value
alanb@368 306 * allowed object is
alanb@368 307 * {@link String }
alanb@368 308 *
alanb@368 309 */
alanb@368 310 public void setDatabinding(String value) {
alanb@368 311 this.databinding = value;
alanb@368 312 }
alanb@368 313
alanb@368 314 /**
alanb@368 315 * Gets a map that contains attributes that aren't bound to any typed property on this class.
alanb@368 316 *
alanb@368 317 * <p>
alanb@368 318 * the map is keyed by the name of the attribute and
alanb@368 319 * the value is the string value of the attribute.
alanb@368 320 *
alanb@368 321 * the map returned by this method is live, and you can add new attribute
alanb@368 322 * by updating the map directly. Because of this design, there's no setter.
alanb@368 323 *
alanb@368 324 *
alanb@368 325 * @return
alanb@368 326 * always non-null
alanb@368 327 */
alanb@368 328 public Map<QName, String> getOtherAttributes() {
alanb@368 329 return otherAttributes;
alanb@368 330 }
alanb@368 331
alanb@368 332
alanb@368 333 /**
alanb@368 334 * <p>Java class for anonymous complex type.
alanb@368 335 *
alanb@368 336 * <p>The following schema fragment specifies the expected content contained within this class.
alanb@368 337 *
alanb@368 338 * <pre>
alanb@368 339 * &lt;complexType>
alanb@368 340 * &lt;complexContent>
alanb@368 341 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
alanb@368 342 * &lt;sequence>
alanb@368 343 * &lt;element ref="{http://xmlns.oracle.com/webservices/jaxws-databinding}java-method" maxOccurs="unbounded" minOccurs="0"/>
alanb@368 344 * &lt;/sequence>
alanb@368 345 * &lt;/restriction>
alanb@368 346 * &lt;/complexContent>
alanb@368 347 * &lt;/complexType>
alanb@368 348 * </pre>
alanb@368 349 *
alanb@368 350 *
alanb@368 351 */
alanb@368 352 @XmlAccessorType(XmlAccessType.FIELD)
alanb@368 353 @XmlType(name = "", propOrder = {
alanb@368 354 "javaMethod"
alanb@368 355 })
alanb@368 356 public static class JavaMethods {
alanb@368 357
alanb@368 358 @XmlElement(name = "java-method")
alanb@368 359 protected List<JavaMethod> javaMethod;
alanb@368 360
alanb@368 361 /**
alanb@368 362 * Gets the value of the javaMethod property.
alanb@368 363 *
alanb@368 364 * <p>
alanb@368 365 * This accessor method returns a reference to the live list,
alanb@368 366 * not a snapshot. Therefore any modification you make to the
alanb@368 367 * returned list will be present inside the JAXB object.
alanb@368 368 * This is why there is not a <CODE>set</CODE> method for the javaMethod property.
alanb@368 369 *
alanb@368 370 * <p>
alanb@368 371 * For example, to add a new item, do as follows:
alanb@368 372 * <pre>
alanb@368 373 * getJavaMethod().add(newItem);
alanb@368 374 * </pre>
alanb@368 375 *
alanb@368 376 *
alanb@368 377 * <p>
alanb@368 378 * Objects of the following type(s) are allowed in the list
alanb@368 379 * {@link JavaMethod }
alanb@368 380 *
alanb@368 381 *
alanb@368 382 */
alanb@368 383 public List<JavaMethod> getJavaMethod() {
alanb@368 384 if (javaMethod == null) {
alanb@368 385 javaMethod = new ArrayList<JavaMethod>();
alanb@368 386 }
alanb@368 387 return this.javaMethod;
alanb@368 388 }
alanb@368 389
alanb@368 390 }
alanb@368 391
alanb@368 392
alanb@368 393 /**
alanb@368 394 * <p>Java class for anonymous complex type.
alanb@368 395 *
alanb@368 396 * <p>The following schema fragment specifies the expected content contained within this class.
alanb@368 397 *
alanb@368 398 * <pre>
alanb@368 399 * &lt;complexType>
alanb@368 400 * &lt;complexContent>
alanb@368 401 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
alanb@368 402 * &lt;sequence>
alanb@368 403 * &lt;any maxOccurs="unbounded" minOccurs="0"/>
alanb@368 404 * &lt;/sequence>
alanb@368 405 * &lt;/restriction>
alanb@368 406 * &lt;/complexContent>
alanb@368 407 * &lt;/complexType>
alanb@368 408 * </pre>
alanb@368 409 *
alanb@368 410 *
alanb@368 411 */
alanb@368 412 @XmlAccessorType(XmlAccessType.FIELD)
alanb@368 413 @XmlType(name = "", propOrder = {
alanb@368 414 "any"
alanb@368 415 })
alanb@368 416 public static class XmlSchemaMapping {
alanb@368 417
alanb@368 418 @XmlAnyElement(lax = true)
alanb@368 419 protected List<Object> any;
alanb@368 420
alanb@368 421 /**
alanb@368 422 * Gets the value of the any property.
alanb@368 423 *
alanb@368 424 * <p>
alanb@368 425 * This accessor method returns a reference to the live list,
alanb@368 426 * not a snapshot. Therefore any modification you make to the
alanb@368 427 * returned list will be present inside the JAXB object.
alanb@368 428 * This is why there is not a <CODE>set</CODE> method for the any property.
alanb@368 429 *
alanb@368 430 * <p>
alanb@368 431 * For example, to add a new item, do as follows:
alanb@368 432 * <pre>
alanb@368 433 * getAny().add(newItem);
alanb@368 434 * </pre>
alanb@368 435 *
alanb@368 436 *
alanb@368 437 * <p>
alanb@368 438 * Objects of the following type(s) are allowed in the list
alanb@368 439 * {@link Object }
alanb@368 440 *
alanb@368 441 *
alanb@368 442 */
alanb@368 443 public List<Object> getAny() {
alanb@368 444 if (any == null) {
alanb@368 445 any = new ArrayList<Object>();
alanb@368 446 }
alanb@368 447 return this.any;
alanb@368 448 }
alanb@368 449
alanb@368 450 }
alanb@368 451
alanb@368 452 }

mercurial