01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: HtmlBeanImpl.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.template;
09:
10: import com.uwyn.rife.site.Validation;
11:
12: public class HtmlBeanImpl extends Validation {
13: private boolean mWantsupdates = false;
14: private String[] mColors = null;
15: private String mFirstname = null;
16: private String mLastname = null;
17:
18: public HtmlBeanImpl() {
19: }
20:
21: public void setWantsupdates(boolean wantsupdates) {
22: mWantsupdates = wantsupdates;
23: }
24:
25: public boolean getWantsupdates() {
26: return mWantsupdates;
27: }
28:
29: public void setColors(String[] colors) {
30: mColors = colors;
31: }
32:
33: public String[] getColors() {
34: return mColors;
35: }
36:
37: public void setFirstname(String firstname) {
38: mFirstname = firstname;
39: }
40:
41: public String getFirstname() {
42: return mFirstname;
43: }
44:
45: public void setLastname(String lastname) {
46: mLastname = lastname;
47: }
48:
49: public String getLastname() {
50: return mLastname;
51: }
52: }
|