01: /*
02: JSmooth: a VM wrapper toolkit for Windows
03: Copyright (C) 2003 Rodrigo Reyes <reyes@charabia.net>
04:
05: This program is free software; you can redistribute it and/or modify
06: it under the terms of the GNU General Public License as published by
07: the Free Software Foundation; either version 2 of the License, or
08: (at your option) any later version.
09:
10: This program 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
13: GNU General Public License for more details.
14:
15: You should have received a copy of the GNU General Public License
16: along with this program; if not, write to the Free Software
17: Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18:
19: */
20:
21: /*
22: * JSmoothModelPersistency.java
23: *
24: * Created on 7 août 2003, 19:42
25: */
26:
27: package net.charabia.jsmoothgen.application;
28:
29: import java.io.*;
30: import java.util.*;
31:
32: public class JavaPropertyPair {
33: private String m_name;
34: private String m_value;
35:
36: public JavaPropertyPair() {
37: }
38:
39: public JavaPropertyPair(String name, String value) {
40: m_name = name;
41: m_value = value;
42: }
43:
44: public void setName(String name) {
45: m_name = name;
46: }
47:
48: public String getName() {
49: return m_name;
50: }
51:
52: public void setValue(String value) {
53: m_value = value;
54: }
55:
56: public String getValue() {
57: return m_value;
58: }
59:
60: public String toString() {
61: return m_name + "=" + m_value;
62: }
63:
64: }
|