KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > beehive > wsm > model > BeehiveWsMethodMetadata


1 /*
2  * Copyright 2004 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  * $Header:$Factory
17  */

18 package org.apache.beehive.wsm.model;
19
20
21 import java.util.List JavaDoc;
22
23 import javax.xml.namespace.QName JavaDoc;
24
25 /**
26  * @author Daryoush
27  */

28 public interface BeehiveWsMethodMetadata {
29     
30     boolean isOneWay();
31     void setOneWay(boolean oneway);
32     
33     
34     String JavaDoc getWmAction();
35     void setWmAction(String JavaDoc wmAction);
36     
37     String JavaDoc getWmOperationName();
38     void setWmOperationName(String JavaDoc wmOperationName);
39     
40     String JavaDoc getWrName();
41     void setWrName(String JavaDoc wrName);
42     
43     String JavaDoc getWrTargetNamespace();
44     void setWrTargetNamespace(String JavaDoc wrTargetNamespace);
45     
46     List JavaDoc<BeehiveWsParameterMetadata> getParams();
47     void addParam(BeehiveWsParameterMetadata parameter);
48     void addParams(List JavaDoc<? extends BeehiveWsParameterMetadata> parameters);
49     BeehiveWsParameterMetadata findParam(String JavaDoc parmName);
50
51     String JavaDoc getJavaMethodName();
52     
53     Class JavaDoc getJavaReturnType();
54     String JavaDoc getJavaReturnTypeFullName();
55     
56     QName JavaDoc getXmlReturnType();
57     void setXmlReturnType(QName JavaDoc xmlType);
58     /**
59      * @param javaType
60      */

61     void setReturnType(Class JavaDoc javaType);
62 }
63
Popular Tags