01: /*
02: * This file is part of the QuickServer library
03: * Copyright (C) 2003-2005 QuickServer.org
04: *
05: * Use, modification, copying and distribution of this software is subject to
06: * the terms and conditions of the GNU Lesser General Public License.
07: * You should have received a copy of the GNU LGP License along with this
08: * library; if not, you can download a copy from <http://www.quickserver.org/>.
09: *
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 <property>...</property>
20: * @author Akshathkumar Shetty
21: * @since 1.3.2
22: */
23: public class Property implements java.io.Serializable {
24: private String name;
25: private String value;
26:
27: public Property() {
28: }
29:
30: public Property(String name, String value) {
31: setName(name);
32: setValue(value);
33: }
34:
35: /**
36: * @return name
37: */
38: public String getName() {
39: return name;
40: }
41:
42: /**
43: * @param name
44: */
45: public void setName(String name) {
46: this .name = name;
47: }
48:
49: /**
50: * @return name
51: */
52: public String getValue() {
53: return value;
54: }
55:
56: /**
57: * @param value
58: */
59: public void setValue(String value) {
60: this.value = value;
61: }
62: }
|