KickJava   Java API By Example, From Geeks To Geeks.

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


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.WSDLBinding;
19 import org.apache.wsdl.WSDLEndpoint;
20
21 import javax.xml.namespace.QName JavaDoc;
22
23 /**
24  * @author chathura@opensource.lk
25  */

26 public class WSDLEndpointImpl extends ComponentImpl implements WSDLEndpoint {
27     /**
28      * Field name
29      */

30     private QName JavaDoc name;
31
32     /**
33      * Field binding
34      */

35     private WSDLBinding binding;
36
37     /**
38      * Method getBinding
39      *
40      * @return
41      */

42     public WSDLBinding getBinding() {
43         return binding;
44     }
45
46     /**
47      * Method setBinding
48      *
49      * @param binding
50      */

51     public void setBinding(WSDLBinding binding) {
52         this.binding = binding;
53     }
54
55     /**
56      * Method getName
57      *
58      * @return
59      */

60     public QName JavaDoc getName() {
61         return name;
62     }
63
64     /**
65      * Method setName
66      *
67      * @param name
68      */

69     public void setName(QName JavaDoc name) {
70         this.name = name;
71     }
72 }
73
Popular Tags