001: /*
002: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
003: * Distributed under the terms of either:
004: * - the common development and distribution license (CDDL), v1.0; or
005: * - the GNU Lesser General Public License, v2.1 or later
006: * $Id: BeanImpl.java 3634 2007-01-08 21:42:24Z gbevin $
007: */
008: package com.uwyn.rife.tools;
009:
010: import java.math.BigDecimal;
011:
012: public class BeanImpl {
013: private int mPropertyReadonly = 23;
014: private String mPropertyString = null;
015: private StringBuffer mPropertyStringbuffer = null;
016: private java.util.Date mPropertyDate = null;
017: private java.util.Calendar mPropertyCalendar = null;
018: private java.sql.Date mPropertySqlDate = null;
019: private java.sql.Time mPropertyTime = null;
020: private java.sql.Timestamp mPropertyTimestamp = null;
021: private char mPropertyChar = 0;
022: private boolean mPropertyBoolean = false;
023: private byte mPropertyByte = 0;
024: private double mPropertyDouble = 0.0d;
025: private float mPropertyFloat = 0.0f;
026: private int mPropertyInt = 0;
027: private long mPropertyLong = 0;
028: private short mPropertyShort = 0;
029: private BigDecimal mPropertyBigDecimal = null;
030:
031: public BeanImpl() {
032: }
033:
034: public int getPropertyReadonly() {
035: return mPropertyReadonly;
036: }
037:
038: public void setPropertyWriteonly(long propertyWriteonly) {
039: }
040:
041: public int getPropertyInt() {
042: return mPropertyInt;
043: }
044:
045: public void setPropertyInt(int propertyInt) {
046: mPropertyInt = propertyInt;
047: }
048:
049: public String getPropertyString() {
050: return mPropertyString;
051: }
052:
053: public void setPropertyString(String propertyString) {
054: mPropertyString = propertyString;
055: }
056:
057: public double getPropertyDouble() {
058: return mPropertyDouble;
059: }
060:
061: public void setPropertyDouble(double propertyDouble) {
062: mPropertyDouble = propertyDouble;
063: }
064:
065: public StringBuffer getPropertyStringbuffer() {
066: return mPropertyStringbuffer;
067: }
068:
069: public void setPropertyStringbuffer(
070: StringBuffer propertyStringbuffer) {
071: mPropertyStringbuffer = propertyStringbuffer;
072: }
073:
074: public java.util.Date getPropertyDate() {
075: return mPropertyDate;
076: }
077:
078: public void setPropertyDate(java.util.Date propertyDate) {
079: mPropertyDate = propertyDate;
080: }
081:
082: public java.util.Calendar getPropertyCalendar() {
083: return mPropertyCalendar;
084: }
085:
086: public void setPropertyCalendar(java.util.Calendar propertyCalendar) {
087: mPropertyCalendar = propertyCalendar;
088: }
089:
090: public java.sql.Date getPropertySqlDate() {
091: return mPropertySqlDate;
092: }
093:
094: public void setPropertySqlDate(java.sql.Date propertySqlDate) {
095: mPropertySqlDate = propertySqlDate;
096: }
097:
098: public java.sql.Time getPropertyTime() {
099: return mPropertyTime;
100: }
101:
102: public void setPropertyTime(java.sql.Time propertyTime) {
103: mPropertyTime = propertyTime;
104: }
105:
106: public java.sql.Timestamp getPropertyTimestamp() {
107: return mPropertyTimestamp;
108: }
109:
110: public void setPropertyTimestamp(
111: java.sql.Timestamp propertyTimestamp) {
112: mPropertyTimestamp = propertyTimestamp;
113: }
114:
115: public boolean isPropertyBoolean() {
116: return mPropertyBoolean;
117: }
118:
119: public void setPropertyBoolean(boolean propertyBoolean) {
120: mPropertyBoolean = propertyBoolean;
121: }
122:
123: public byte getPropertyByte() {
124: return mPropertyByte;
125: }
126:
127: public void setPropertyByte(byte propertyByte) {
128: mPropertyByte = propertyByte;
129: }
130:
131: public float getPropertyFloat() {
132: return mPropertyFloat;
133: }
134:
135: public void setPropertyFloat(float propertyFloat) {
136: mPropertyFloat = propertyFloat;
137: }
138:
139: public long getPropertyLong() {
140: return mPropertyLong;
141: }
142:
143: public void setPropertyLong(long propertyLong) {
144: mPropertyLong = propertyLong;
145: }
146:
147: public short getPropertyShort() {
148: return mPropertyShort;
149: }
150:
151: public void setPropertyShort(short propertyShort) {
152: mPropertyShort = propertyShort;
153: }
154:
155: public char getPropertyChar() {
156: return mPropertyChar;
157: }
158:
159: public void setPropertyChar(char propertyChar) {
160: mPropertyChar = propertyChar;
161: }
162:
163: public BigDecimal getPropertyBigDecimal() {
164: return mPropertyBigDecimal;
165: }
166:
167: public void setPropertyBigDecimal(BigDecimal propertyBigDecimal) {
168: mPropertyBigDecimal = propertyBigDecimal;
169: }
170: }
|