KickJava   Java API By Example, From Geeks To Geeks.

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


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 javax.xml.namespace.QName JavaDoc;
19 import java.util.HashMap JavaDoc;
20 import java.util.List JavaDoc;
21
22 /**
23  * @author chathura@opensource.lk
24  */

25 public interface WSDLInterface extends ExtensibleComponent {
26     /**
27      * Method getDefinedOperations
28      *
29      * @return
30      */

31     public HashMap JavaDoc getDefinedOperations();
32
33     /**
34      * Will return a map of all this <code>WSDLOperation</code>s that
35      * are defined and inherited from super interfaces.
36      *
37      * @return
38      */

39     public HashMap JavaDoc getAllOperations();
40
41     /**
42      * @return
43      */

44     public List JavaDoc getFaults();
45
46     /**
47      * @return
48      */

49     public QName JavaDoc getName();
50
51     /**
52      * @return
53      */

54     public HashMap JavaDoc getOperations();
55
56     /**
57      * Retruns the <code>WSDLOperation</code>
58      *
59      * @param nCName
60      * @return
61      */

62     public WSDLOperation getOperation(String JavaDoc nCName);
63
64     /**
65      * @return
66      */

67     public HashMap JavaDoc getSuperInterfaces();
68
69     /**
70      * Method getSuperInterface
71      *
72      * @param qName
73      * @return
74      */

75     public WSDLInterface getSuperInterface(QName JavaDoc qName);
76
77     /**
78      * The Targetnamespace is that of the namespace URI of the QName of
79      * this component.
80      *
81      * @return URI as a String if the name is set otherwise will return null.
82      */

83     public String JavaDoc getTargetnamespace();
84
85     /**
86      * @param list
87      */

88     public void setFaults(List JavaDoc list);
89
90     /**
91      * @param qName
92      */

93     public void setName(QName JavaDoc qName);
94
95     /**
96      * @param list
97      */

98     public void setOperations(HashMap JavaDoc list);
99
100     /**
101      * The operation is added by its ncname. If operation is null
102      * it will not be added. If the Operation name is null a
103      * <code>WSDLProcessingException</code> will be thrown.
104      *
105      * @param operation
106      */

107     public void setOperation(WSDLOperation operation);
108
109     /**
110      * @param list
111      */

112     public void setSuperInterfaces(HashMap JavaDoc list);
113
114     /**
115      * The Inteface will be added to the list of super interfaces keyed with
116      * the QName.
117      *
118      * @param interfaceComponent WSDLInterface Object
119      */

120     public void addSuperInterface(WSDLInterface interfaceComponent);
121
122     /**
123      * Will return the StyleDefault if exist , otherwise will return null
124      *
125      * @return
126      */

127     public String JavaDoc getStyleDefault();
128
129     /**
130      * Method setStyleDefault
131      *
132      * @param styleDefault
133      */

134     public void setStyleDefault(String JavaDoc styleDefault);
135     
136    
137 }
138
Popular Tags