KickJava   Java API By Example, From Geeks To Geeks.

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


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 WDSLPropertyImpl extends ComponentImpl implements WSDLProperty {
24     /**
25      * Field uri
26      */

27     private String JavaDoc uri;
28
29     // TODO replace with the data binding object structure
30

31     /**
32      * Field constraint
33      */

34     private Object JavaDoc constraint;
35
36     // TODO replace with the data binding object structure
37

38     /**
39      * Field value
40      */

41     private Object JavaDoc value;
42
43     /**
44      * Method getConstraint
45      *
46      * @return
47      */

48     public Object JavaDoc getConstraint() {
49         return constraint;
50     }
51
52     /**
53      * Method setConstraint
54      *
55      * @param constraint
56      */

57     public void setConstraint(Object JavaDoc constraint) {
58         this.constraint = constraint;
59     }
60
61     /**
62      * Method getName
63      *
64      * @return
65      */

66     public String JavaDoc getName() {
67         return uri;
68     }
69
70     /**
71      * Method setName
72      *
73      * @param uri
74      */

75     public void setName(String JavaDoc uri) {
76         this.uri = uri;
77     }
78
79     /**
80      * Method getValue
81      *
82      * @return
83      */

84     public Object JavaDoc getValue() {
85         return value;
86     }
87
88     /**
89      * Method setValue
90      *
91      * @param value
92      */

93     public void setValue(Object JavaDoc value) {
94         this.value = value;
95     }
96 }
97
Popular Tags