KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > quickserver > util > xmlreader > Property


1 /*
2  * This file is part of the QuickServer library
3  * Copyright (C) 2003-2005 QuickServer.org
4  *
5  * Use, modification, copying and distribution of this software is subject to
6  * the terms and conditions of the GNU Lesser General Public License.
7  * You should have received a copy of the GNU LGP License along with this
8  * library; if not, you can download a copy from <http://www.quickserver.org/>.
9  *
10  * For questions, suggestions, bug-reports, enhancement-requests etc.
11  * visit http://www.quickserver.org
12  *
13  */

14
15 package org.quickserver.util.xmlreader;
16
17 /**
18  * This class encapsulate the Property of Application Configuration.
19  * The xml is &lt;property&gt;...&lt;/property&gt;
20  * @author Akshathkumar Shetty
21  * @since 1.3.2
22  */

23 public class Property implements java.io.Serializable JavaDoc {
24     private String JavaDoc name;
25     private String JavaDoc value;
26
27     public Property() {
28     }
29
30     public Property(String JavaDoc name, String JavaDoc value) {
31         setName(name);
32         setValue(value);
33     }
34
35     /**
36      * @return name
37      */

38     public String JavaDoc getName() {
39         return name;
40     }
41
42     /**
43      * @param name
44      */

45     public void setName(String JavaDoc name) {
46         this.name = name;
47     }
48
49     /**
50      * @return name
51      */

52     public String JavaDoc getValue() {
53         return value;
54     }
55
56     /**
57      * @param value
58      */

59     public void setValue(String JavaDoc value) {
60         this.value = value;
61     }
62 }
63
Popular Tags