KickJava   Java API By Example, From Geeks To Geeks.

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


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: PackageMapping.java,v 1.1.4.1 2005/06/17 22:31:50 tdiesler Exp $
10

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

17 public class PackageMapping
18 {
19    // The parent <java-wsdl-mapping> element
20
private JavaWsdlMapping javaWsdlMapping;
21
22    // The required <package-type> element
23
private String JavaDoc packageType;
24    // The required <namespaceURI> element
25
private String JavaDoc namespaceURI;
26
27    public PackageMapping(JavaWsdlMapping javaWsdlMapping)
28    {
29       this.javaWsdlMapping = javaWsdlMapping;
30    }
31
32    public JavaWsdlMapping getJavaWsdlMapping()
33    {
34       return javaWsdlMapping;
35    }
36
37    public String JavaDoc getNamespaceURI()
38    {
39       return namespaceURI;
40    }
41
42    public void setNamespaceURI(String JavaDoc namespaceURI)
43    {
44       this.namespaceURI = namespaceURI;
45    }
46
47    public String JavaDoc getPackageType()
48    {
49       return packageType;
50    }
51
52    public void setPackageType(String JavaDoc packageType)
53    {
54       this.packageType = packageType;
55    }
56
57    public String JavaDoc toString()
58    {
59       return "[namespaceURI=" + namespaceURI + ",packageType=" + packageType + "]";
60    }
61 }
62
Popular Tags