KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

17 public class PortMapping
18 {
19    // The parent <service-interface-mapping> element
20
private ServiceInterfaceMapping serviceInterfaceMapping;
21
22    // The required <port-name> element
23
private String JavaDoc portName;
24    // The required <java-port-name> element
25
private String JavaDoc javaPortName;
26
27    public PortMapping(ServiceInterfaceMapping serviceInterfaceMapping)
28    {
29       this.serviceInterfaceMapping = serviceInterfaceMapping;
30    }
31
32    public ServiceInterfaceMapping getServiceInterfaceMapping()
33    {
34       return serviceInterfaceMapping;
35    }
36
37    public String JavaDoc getJavaPortName()
38    {
39       return javaPortName;
40    }
41
42    public void setJavaPortName(String JavaDoc javaPortName)
43    {
44       this.javaPortName = javaPortName;
45    }
46
47    public String JavaDoc getPortName()
48    {
49       return portName;
50    }
51
52    public void setPortName(String JavaDoc portName)
53    {
54       this.portName = portName;
55    }
56 }
57
58
Popular Tags