KickJava   Java API By Example, From Geeks To Geeks.

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


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: MethodParamPartsMapping.java,v 1.1 2004/05/14 18:34:23 tdiesler Exp $
10

11 /**
12  * XML mapping of the java-wsdl-mapping/service-endpoint-interface-mapping/service-endpoint-method-mapping/method-param-parts-mapping element.
13  *
14  * @author Thomas.Diesler@jboss.org
15  * @since 14-May-2004
16  */

17 public class MethodParamPartsMapping
18 {
19    // The parent <service-endpoint-method-mapping> element
20
private ServiceEndpointMethodMapping serviceEndpointMethodMapping;
21
22    // The required <param-position> element
23
private int paramPosition;
24    // The required <param-type> element
25
private String JavaDoc paramType;
26    // The required <wsdl-message-mapping> element
27
private WsdlMessageMapping wsdlMessageMapping;
28
29    public MethodParamPartsMapping(ServiceEndpointMethodMapping serviceEndpointMethodMapping)
30    {
31       this.serviceEndpointMethodMapping = serviceEndpointMethodMapping;
32    }
33
34    public ServiceEndpointMethodMapping getServiceEndpointMethodMapping()
35    {
36       return serviceEndpointMethodMapping;
37    }
38
39    public int getParamPosition()
40    {
41       return paramPosition;
42    }
43
44    public void setParamPosition(int paramPosition)
45    {
46       this.paramPosition = paramPosition;
47    }
48
49    public String JavaDoc getParamType()
50    {
51       return paramType;
52    }
53
54    public void setParamType(String JavaDoc paramType)
55    {
56       this.paramType = paramType;
57    }
58
59    public WsdlMessageMapping getWsdlMessageMapping()
60    {
61       return wsdlMessageMapping;
62    }
63
64    public void setWsdlMessageMapping(WsdlMessageMapping wsdlMessageMapping)
65    {
66       this.wsdlMessageMapping = wsdlMessageMapping;
67    }
68 }
69
Popular Tags