01: package fr.aliacom.form.common;
02:
03: /**
04: * FormVariable are stored in a form Context
05: *
06: * @version $Id: FormVariable.java,v 1.1 2003/01/10 08:10:47 tcataldo Exp $
07: */
08: public final class FormVariable {
09:
10: private String name;
11: private Object value;
12:
13: /**
14: * Create a new FormVariable
15: */
16: public FormVariable(String name, Object value) {
17: this .name = name;
18: this .value = value;
19: }
20:
21: public String getName() {
22: return name;
23: }
24:
25: public Object getValue() {
26: return value;
27: }
28:
29: public String toString() {
30: return name + "=" + value;
31: }
32:
33: }
|