KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > description > Parameter


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.axis2.description;
17
18 /**
19  * Interface Parameter
20  */

21 public interface Parameter {
22     /**
23      * Field TEXT_PARAMETER
24      */

25     public static int TEXT_PARAMETER = 0;
26
27     /**
28      * Field DOM_PARAMETER
29      */

30     public static int DOM_PARAMETER = 1;
31
32     /**
33      * Method getName
34      *
35      * @return
36      */

37     public String JavaDoc getName();
38
39     /**
40      * Method getValue
41      *
42      * @return
43      */

44     public Object JavaDoc getValue();
45
46     /**
47      * Method setName
48      *
49      * @param name
50      */

51     public void setName(String JavaDoc name);
52
53     /**
54      * Method setValue
55      *
56      * @param value
57      */

58     public void setValue(String JavaDoc value);
59
60     /**
61      * Method isLocked
62      *
63      * @return
64      */

65     public boolean isLocked();
66
67     /**
68      * Method setLocked
69      *
70      * @param value
71      */

72     public void setLocked(boolean value);
73
74     /**
75      * Method getParameterType
76      *
77      * @return
78      */

79     public int getParameterType();
80 }
81
Popular Tags