Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]
    1   /**
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *     http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    *  Unless required by applicable law or agreed to in writing, software
   12    *  distributed under the License is distributed on an "AS IS" BASIS,
   13    *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    *  See the License for the specific language governing permissions and
   15    *  limitations under the License.
   16    */
   17   package org.apache.openejb.jee;
   18   
   19   import javax.xml.bind.annotation.XmlAccessType;
   20   import javax.xml.bind.annotation.XmlAccessorType;
   21   import javax.xml.bind.annotation.XmlAttribute;
   22   import javax.xml.bind.annotation.XmlElement;
   23   import javax.xml.bind.annotation.XmlID;
   24   import javax.xml.bind.annotation.XmlType;
   25   import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
   26   import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
   27   import javax.xml.namespace.QName;
   28   
   29   /**
   30    * The wsdl-return-value-mapping  element defines the mapping for the
   31    * method's return value. It defines the mapping to a specific message
   32    * and its part.  Together they define uniquely the mapping for a
   33    * specific parameter. Parts within a message context are uniquely
   34    * identified with their names. The wsdl-message-part-name is not
   35    * specified if there is no return value or OUT parameters.
   36    * <p/>
   37    * Used in: service-endpoint-method-mapping
   38    */
   39   @XmlAccessorType(XmlAccessType.FIELD)
   40   @XmlType(name = "wsdl-return-value-mappingType", propOrder = {
   41       "methodReturnValue",
   42       "wsdlMessage",
   43       "wsdlMessagePartName"
   44   })
   45   public class WsdlReturnValueMapping {
   46       @XmlElement(name = "method-return-value", required = true)
   47       protected String methodReturnValue;
   48       @XmlElement(name = "wsdl-message", required = true)
   49       protected QName wsdlMessage;
   50       @XmlElement(name = "wsdl-message-part-name")
   51       protected String wsdlMessagePartName;
   52       @XmlAttribute
   53       @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
   54       @XmlID
   55       protected String id;
   56   
   57       public String getMethodReturnValue() {
   58           return methodReturnValue;
   59       }
   60   
   61       public void setMethodReturnValue(String value) {
   62           this.methodReturnValue = value;
   63       }
   64   
   65       public QName getWsdlMessage() {
   66           return wsdlMessage;
   67       }
   68   
   69       public void setWsdlMessage(QName value) {
   70           this.wsdlMessage = value;
   71       }
   72   
   73       public String getWsdlMessagePartName() {
   74           return wsdlMessagePartName;
   75       }
   76   
   77       public void setWsdlMessagePartName(String value) {
   78           this.wsdlMessagePartName = value;
   79       }
   80   
   81       public String getId() {
   82           return id;
   83       }
   84   
   85       public void setId(String value) {
   86           this.id = value;
   87       }
   88   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]