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: InitializedBeanImpl.java 3634 2007-01-08 21:42:24Z gbevin $
07: */
08: package com.uwyn.rife.site;
09:
10: public class InitializedBeanImpl {
11: private String mString = "default";
12: private StringBuffer mStringbuffer = null;
13: private int mInt = -1;
14: private Integer mInteger = null;
15: private char mChar = 'i';
16: private Character mCharacter = new Character('k');
17:
18: public InitializedBeanImpl() {
19: }
20:
21: public void setString(String string) {
22: mString = string;
23: }
24:
25: public String getString() {
26: return mString;
27: }
28:
29: public void setStringbuffer(StringBuffer stringbuffer) {
30: mStringbuffer = stringbuffer;
31: }
32:
33: public StringBuffer getStringbuffer() {
34: return mStringbuffer;
35: }
36:
37: public void setInt(int integer) {
38: mInt = integer;
39: }
40:
41: public int getInt() {
42: return mInt;
43: }
44:
45: public void setInteger(Integer integer) {
46: mInteger = integer;
47: }
48:
49: public Integer getInteger() {
50: return mInteger;
51: }
52:
53: public void setChar(char character) {
54: mChar = character;
55: }
56:
57: public char getChar() {
58: return mChar;
59: }
60:
61: public void setCharacter(Character character) {
62: mCharacter = character;
63: }
64:
65: public Character getCharacter() {
66: return mCharacter;
67: }
68: }
|