KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > betwixt > schema > AllSimplesBean


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.commons.betwixt.schema;
18
19 import java.math.BigDecimal JavaDoc;
20 import java.math.BigInteger JavaDoc;
21
22 /**
23  * @author <a HREF='http://jakarta.apache.org/'>Jakarta Commons Team</a>
24  * @version $Revision: 1.2 $
25  */

26 public class AllSimplesBean {
27
28     private String JavaDoc string;
29     private BigInteger JavaDoc bigInteger;
30     private int primitiveInt;
31     private Integer JavaDoc objectInt;
32     private long primitiveLong;
33     private Long JavaDoc objectLong;
34     private short primitiveShort;
35     private Short JavaDoc objectShort;
36     private BigDecimal JavaDoc bigDecimal;
37     private float primitiveFloat;
38     private Float JavaDoc objectFloat;
39     private double primitiveDouble;
40     private Double JavaDoc objectDouble;
41     private boolean primitiveBoolean;
42     private Boolean JavaDoc objectBoolean;
43     private byte primitiveByte;
44     private Byte JavaDoc objectByte;
45     private java.util.Date JavaDoc utilDate;
46     private java.sql.Date JavaDoc sqlDate;
47     private java.sql.Time JavaDoc sqlTime;
48     
49     
50     public BigDecimal JavaDoc getBigDecimal() {
51         return bigDecimal;
52     }
53
54     public BigInteger JavaDoc getBigInteger() {
55         return bigInteger;
56     }
57
58     public Boolean JavaDoc getObjectBoolean() {
59         return objectBoolean;
60     }
61
62     public Byte JavaDoc getObjectByte() {
63         return objectByte;
64     }
65
66     public Double JavaDoc getObjectDouble() {
67         return objectDouble;
68     }
69
70     public Float JavaDoc getObjectFloat() {
71         return objectFloat;
72     }
73
74     public Integer JavaDoc getObjectInt() {
75         return objectInt;
76     }
77
78     public Long JavaDoc getObjectLong() {
79         return objectLong;
80     }
81
82     public Short JavaDoc getObjectShort() {
83         return objectShort;
84     }
85
86     public boolean isPrimitiveBoolean() {
87         return primitiveBoolean;
88     }
89
90     public byte getPrimitiveByte() {
91         return primitiveByte;
92     }
93
94     public double getPrimitiveDouble() {
95         return primitiveDouble;
96     }
97
98     public float getPrimitiveFloat() {
99         return primitiveFloat;
100     }
101
102     public int getPrimitiveInt() {
103         return primitiveInt;
104     }
105
106     public long getPrimitiveLong() {
107         return primitiveLong;
108     }
109
110     public short getPrimitiveShort() {
111         return primitiveShort;
112     }
113
114     public java.sql.Date JavaDoc getSqlDate() {
115         return sqlDate;
116     }
117
118     public java.sql.Time JavaDoc getSqlTime() {
119         return sqlTime;
120     }
121
122     public String JavaDoc getString() {
123         return string;
124     }
125
126     public java.util.Date JavaDoc getUtilDate() {
127         return utilDate;
128     }
129
130     public void setBigDecimal(BigDecimal JavaDoc decimal) {
131         bigDecimal = decimal;
132     }
133
134     public void setBigInteger(BigInteger JavaDoc integer) {
135         bigInteger = integer;
136     }
137
138     public void setObjectBoolean(Boolean JavaDoc boolean1) {
139         objectBoolean = boolean1;
140     }
141
142     public void setObjectByte(Byte JavaDoc byte1) {
143         objectByte = byte1;
144     }
145
146     public void setObjectDouble(Double JavaDoc double1) {
147         objectDouble = double1;
148     }
149
150     public void setObjectFloat(Float JavaDoc float1) {
151         objectFloat = float1;
152     }
153
154     public void setObjectInt(Integer JavaDoc integer) {
155         objectInt = integer;
156     }
157
158     public void setObjectLong(Long JavaDoc long1) {
159         objectLong = long1;
160     }
161
162     public void setObjectShort(Short JavaDoc short1) {
163         objectShort = short1;
164     }
165     
166     public void setPrimitiveBoolean(boolean b) {
167         primitiveBoolean = b;
168     }
169
170     public void setPrimitiveByte(byte b) {
171         primitiveByte = b;
172     }
173     
174     public void setPrimitiveDouble(double d) {
175         primitiveDouble = d;
176     }
177
178     public void setPrimitiveFloat(float f) {
179         primitiveFloat = f;
180     }
181
182     public void setPrimitiveInt(int i) {
183         primitiveInt = i;
184     }
185
186     public void setPrimitiveLong(long l) {
187         primitiveLong = l;
188     }
189
190     public void setPrimitiveShort(short s) {
191         primitiveShort = s;
192     }
193
194     public void setSqlDate(java.sql.Date JavaDoc date) {
195         sqlDate = date;
196     }
197
198     public void setSqlTime(java.sql.Time JavaDoc time) {
199         sqlTime = time;
200     }
201
202     public void setString(String JavaDoc string) {
203         this.string = string;
204     }
205
206     public void setUtilDate(java.util.Date JavaDoc date) {
207         utilDate = date;
208     }
209
210 }
211
Popular Tags