KickJava   Java API By Example, From Geeks To Geeks.

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


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.WSDLProperty;
19
20 /**
21  * @author chathura@opensource.lk
22  */

23 public class WSDLPropertyImpl extends ComponentImpl implements WSDLProperty {
24     /**
25      * Field constraint
26      */

27     private Object JavaDoc constraint;
28
29     /**
30      * Field name
31      */

32     private String JavaDoc name;
33
34     /**
35      * Field value
36      */

37     private Object JavaDoc value;
38
39     /**
40      * Method getConstraint
41      *
42      * @return
43      */

44     public Object JavaDoc getConstraint() {
45         return constraint;
46     }
47
48     /**
49      * Method setConstraint
50      *
51      * @param constraint
52      */

53     public void setConstraint(Object JavaDoc constraint) {
54         this.constraint = constraint;
55     }
56
57     /**
58      * Method getName
59      *
60      * @return
61      */

62     public String JavaDoc getName() {
63         return name;
64     }
65
66     /**
67      * Method setName
68      *
69      * @param name
70      */

71     public void setName(String JavaDoc name) {
72         this.name = name;
73     }
74
75     /**
76      * Method getValue
77      *
78      * @return
79      */

80     public Object JavaDoc getValue() {
81         return value;
82     }
83
84     /**
85      * Method setValue
86      *
87      * @param value
88      */

89     public void setValue(Object JavaDoc value) {
90         this.value = value;
91     }
92 }
93
Popular Tags