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

Thu, 31 Aug 2017 15:18:52 +0800

author
aoqi
date
Thu, 31 Aug 2017 15:18:52 +0800
changeset 637
9c07ef4934dd
parent 374
72e03566f0a6
parent 0
373ffda63c9a
permissions
-rw-r--r--

merge

     1 /*
     2  * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Oracle in the LICENSE file that accompanied this code.
    10  *
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    14  * version 2 for more details (a copy is included in the LICENSE file that
    15  * accompanied this code).
    16  *
    17  * You should have received a copy of the GNU General Public License version
    18  * 2 along with this work; if not, write to the Free Software Foundation,
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    24  */
    26 package com.oracle.xmlns.internal.webservices.jaxws_databinding;
    27 import javax.xml.bind.annotation.XmlAccessType;
    28 import javax.xml.bind.annotation.XmlAccessorType;
    29 import javax.xml.bind.annotation.XmlAttribute;
    30 import javax.xml.bind.annotation.XmlRootElement;
    31 import javax.xml.bind.annotation.XmlType;
    32 import java.lang.annotation.Annotation;
    34 import static com.oracle.xmlns.internal.webservices.jaxws_databinding.Util.nullSafe;
    37 /**
    38  * This file was generated by JAXB-RI v2.2.6 and afterwards modified
    39  * to implement appropriate Annotation
    40  *
    41  * <p>Java class for anonymous complex type.
    42  *
    43  * <p>The following schema fragment specifies the expected content contained within this class.
    44  *
    45  * <pre>
    46  * &lt;complexType>
    47  *   &lt;complexContent>
    48  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    49  *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
    50  *       &lt;attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}string" />
    51  *       &lt;attribute name="wsdlLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
    52  *     &lt;/restriction>
    53  *   &lt;/complexContent>
    54  * &lt;/complexType>
    55  * </pre>
    56  */
    57 @XmlAccessorType(XmlAccessType.FIELD)
    58 @XmlType(name = "")
    59 @XmlRootElement(name = "web-service-client")
    60 public class XmlWebServiceClient implements javax.xml.ws.WebServiceClient {
    62     @XmlAttribute(name = "name")
    63     protected String name;
    64     @XmlAttribute(name = "targetNamespace")
    65     protected String targetNamespace;
    66     @XmlAttribute(name = "wsdlLocation")
    67     protected String wsdlLocation;
    69     /**
    70      * Gets the value of the name property.
    71      *
    72      * @return
    73      *     possible object is
    74      *     {@link String }
    75      *
    76      */
    77     public String getName() {
    78         return name;
    79     }
    81     /**
    82      * Sets the value of the name property.
    83      *
    84      * @param value
    85      *     allowed object is
    86      *     {@link String }
    87      *
    88      */
    89     public void setName(String value) {
    90         this.name = value;
    91     }
    93     /**
    94      * Gets the value of the targetNamespace property.
    95      *
    96      * @return
    97      *     possible object is
    98      *     {@link String }
    99      *
   100      */
   101     public String getTargetNamespace() {
   102         return targetNamespace;
   103     }
   105     /**
   106      * Sets the value of the targetNamespace property.
   107      *
   108      * @param value
   109      *     allowed object is
   110      *     {@link String }
   111      *
   112      */
   113     public void setTargetNamespace(String value) {
   114         this.targetNamespace = value;
   115     }
   117     /**
   118      * Gets the value of the wsdlLocation property.
   119      *
   120      * @return
   121      *     possible object is
   122      *     {@link String }
   123      *
   124      */
   125     public String getWsdlLocation() {
   126         return wsdlLocation;
   127     }
   129     /**
   130      * Sets the value of the wsdlLocation property.
   131      *
   132      * @param value
   133      *     allowed object is
   134      *     {@link String }
   135      *
   136      */
   137     public void setWsdlLocation(String value) {
   138         this.wsdlLocation = value;
   139     }
   141     @Override
   142     public String name() {
   143         return nullSafe(name);
   144     }
   146     @Override
   147     public String targetNamespace() {
   148         return nullSafe(targetNamespace);
   149     }
   151     @Override
   152     public String wsdlLocation() {
   153         return nullSafe(wsdlLocation);
   154     }
   156     @Override
   157     public Class<? extends Annotation> annotationType() {
   158         return javax.xml.ws.WebServiceClient.class;
   159     }
   160 }

mercurial