KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wsdl > impl > WSDLImportImpl


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.wsdl.impl;
17
18 import org.apache.wsdl.WSDLImport;
19
20 /**
21  * @author chathura@opensource.lk
22  */

23 public class WSDLImportImpl extends ComponentImpl implements WSDLImport {
24     /**
25      * Field location
26      */

27     private String JavaDoc location;
28
29     /**
30      * Field namespace
31      */

32     private String JavaDoc namespace;
33
34     /**
35      * Gets the location URI of the Include.
36      *
37      * @return
38      */

39     public String JavaDoc getLocation() {
40         return location;
41     }
42
43     /**
44      * Sets the location URI of the Include.
45      *
46      * @param location
47      */

48     public void setLocation(String JavaDoc location) {
49         this.location = location;
50     }
51
52     /**
53      * Returns the namespace URI
54      *
55      * @return
56      */

57     public String JavaDoc getNamespace() {
58         return namespace;
59     }
60
61     /**
62      * Sets the namespace URI.
63      *
64      * @param namespace
65      */

66     public void setNamespace(String JavaDoc namespace) {
67         this.namespace = namespace;
68     }
69 }
70
Popular Tags