KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wsdl > ExtensibleComponent


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;
17
18 import java.util.List JavaDoc;
19
20 /**
21  * @author chathura@opensource.lk
22  */

23 public interface ExtensibleComponent extends Component {
24     /**
25      * Will add a <code>WSDLFeature</code> to the feature list.
26      * If feature is null it will not be added.
27      * <code>ExtensibleComponent</code>
28      *
29      * @param feature
30      */

31     public void addFeature(WSDLFeature feature);
32
33     /**
34      * Will return the <code>WSDLFeature</code>s. If there aren't
35      * any features an empty list will be returned.
36      *
37      * @return
38      */

39     public List JavaDoc getFeatures();
40
41     /**
42      * Wll add the property to the component properties. If the property is null it will
43      * not be added.
44      *
45      * @param wsdlProperty
46      */

47     public void addProperty(WSDLProperty wsdlProperty);
48
49     /**
50      * Returns the Component Properties. If none exist an empty list will be returned.
51      *
52      * @return
53      */

54     public List JavaDoc getProperties();
55     
56         
57 }
58
Popular Tags