KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > webservice > metadata > jaxrpcmapping > WsdlReturnValueMapping


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.webservice.metadata.jaxrpcmapping;
8
9 // $Id: WsdlReturnValueMapping.java,v 1.1 2004/05/14 18:34:23 tdiesler Exp $
10

11 import javax.xml.namespace.QName JavaDoc;
12
13 /**
14  * XML mapping of the java-wsdl-mapping/service-endpoint-interface-mapping/service-endpoint-method-mapping/wsdl-return-value-mapping element.
15  *
16  * @author Thomas.Diesler@jboss.org
17  * @since 14-May-2004
18  */

19 public class WsdlReturnValueMapping
20 {
21    // The parent <service-endpoint-method-mapping> element
22
private ServiceEndpointMethodMapping serviceEndpointMethodMapping;
23
24    // The required <method-return-value> element
25
private String JavaDoc methodReturnValue;
26    // The required <wsdl-message> element
27
private QName JavaDoc wsdlMessage;
28    // The optional <wsdl-message> element
29
private String JavaDoc wsdlMessagePartName;
30
31    public WsdlReturnValueMapping(ServiceEndpointMethodMapping serviceEndpointMethodMapping)
32    {
33       this.serviceEndpointMethodMapping = serviceEndpointMethodMapping;
34    }
35
36    public ServiceEndpointMethodMapping getServiceEndpointMethodMapping()
37    {
38       return serviceEndpointMethodMapping;
39    }
40
41    public String JavaDoc getMethodReturnValue()
42    {
43       return methodReturnValue;
44    }
45
46    public void setMethodReturnValue(String JavaDoc methodReturnValue)
47    {
48       this.methodReturnValue = methodReturnValue;
49    }
50
51    public QName JavaDoc getWsdlMessage()
52    {
53       return wsdlMessage;
54    }
55
56    public void setWsdlMessage(QName JavaDoc wsdlMessage)
57    {
58       this.wsdlMessage = wsdlMessage;
59    }
60
61    public String JavaDoc getWsdlMessagePartName()
62    {
63       return wsdlMessagePartName;
64    }
65
66    public void setWsdlMessagePartName(String JavaDoc wsdlMessagePartName)
67    {
68       this.wsdlMessagePartName = wsdlMessagePartName;
69    }
70 }
71
Popular Tags