01: /*
02: * Created on Mar 6, 2003
03: *
04: * Dbmjui is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License version 2 as
06: * published by the Free Software Foundation.
07: *
08: * Dbmjui is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * General Public License for more details.
12: *
13: * You should have received a copy of the GNU General Public
14: * License along with dbmjui; see the file COPYING. If not,
15: * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16: * Boston, MA 02111-1307, USA.
17: *
18: */
19: package fr.aliacom.dbmjui.beans;
20:
21: import java.io.Serializable;
22:
23: /**
24: * @author tom
25: *
26: * (c) 2001, 2003 Thomas Cataldo
27: */
28: public final class DataInfoEntry implements Serializable {
29:
30: private String name;
31: private String value;
32:
33: public DataInfoEntry(String name, String value) {
34: this .name = name;
35: this .value = value;
36: }
37:
38: /**
39: * @return String
40: */
41: public String getName() {
42: return name;
43: }
44:
45: /**
46: * @return String
47: */
48: public String getValue() {
49: return value;
50: }
51:
52: /**
53: * Sets the name.
54: * @param name The name to set
55: */
56: public void setName(String name) {
57: this .name = name;
58: }
59:
60: /**
61: * Sets the value.
62: * @param value The value to set
63: */
64: public void setValue(String value) {
65: this.value = value;
66: }
67:
68: }
|