1 /*
2 Karma core - Core of the Karma application
3 Copyright (C) 2004 Toolforge <www.toolforge.nl>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 package nl.toolforge.karma.core.boot;
20
21 /***
22 * Class representation of a <code><property></code>-element in the configuration file for a
23 * {@link WorkingContext}.
24 *
25 * @author D.A. Smedes
26 * @version $Id: Property.java,v 1.2 2004/10/26 22:47:54 hippe Exp $
27 */
28 public class Property {
29
30 private String name = null;
31 private String value = null;
32
33 public Property() {
34 // Empty
35 }
36
37 public Property(String name, String value) {
38 setName(name);
39 setValue(value);
40 }
41
42 public String getName() {
43 return name;
44 }
45
46 public void setName(String name) {
47 this.name = name;
48 }
49
50 public String getValue() {
51 return value;
52 }
53
54 public void setValue(String value) {
55 this.value = value;
56 }
57 }