001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017:
018: package org.apache.commons.betwixt.schema;
019:
020: import java.math.BigDecimal;
021: import java.math.BigInteger;
022:
023: /**
024: * @author <a href='http://jakarta.apache.org/'>Jakarta Commons Team</a>
025: * @version $Revision: 438373 $
026: */
027: public class AllSimplesBean {
028:
029: private String string;
030: private BigInteger bigInteger;
031: private int primitiveInt;
032: private Integer objectInt;
033: private long primitiveLong;
034: private Long objectLong;
035: private short primitiveShort;
036: private Short objectShort;
037: private BigDecimal bigDecimal;
038: private float primitiveFloat;
039: private Float objectFloat;
040: private double primitiveDouble;
041: private Double objectDouble;
042: private boolean primitiveBoolean;
043: private Boolean objectBoolean;
044: private byte primitiveByte;
045: private Byte objectByte;
046: private java.util.Date utilDate;
047: private java.sql.Date sqlDate;
048: private java.sql.Time sqlTime;
049:
050: public BigDecimal getBigDecimal() {
051: return bigDecimal;
052: }
053:
054: public BigInteger getBigInteger() {
055: return bigInteger;
056: }
057:
058: public Boolean getObjectBoolean() {
059: return objectBoolean;
060: }
061:
062: public Byte getObjectByte() {
063: return objectByte;
064: }
065:
066: public Double getObjectDouble() {
067: return objectDouble;
068: }
069:
070: public Float getObjectFloat() {
071: return objectFloat;
072: }
073:
074: public Integer getObjectInt() {
075: return objectInt;
076: }
077:
078: public Long getObjectLong() {
079: return objectLong;
080: }
081:
082: public Short getObjectShort() {
083: return objectShort;
084: }
085:
086: public boolean isPrimitiveBoolean() {
087: return primitiveBoolean;
088: }
089:
090: public byte getPrimitiveByte() {
091: return primitiveByte;
092: }
093:
094: public double getPrimitiveDouble() {
095: return primitiveDouble;
096: }
097:
098: public float getPrimitiveFloat() {
099: 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 getSqlDate() {
115: return sqlDate;
116: }
117:
118: public java.sql.Time getSqlTime() {
119: return sqlTime;
120: }
121:
122: public String getString() {
123: return string;
124: }
125:
126: public java.util.Date getUtilDate() {
127: return utilDate;
128: }
129:
130: public void setBigDecimal(BigDecimal decimal) {
131: bigDecimal = decimal;
132: }
133:
134: public void setBigInteger(BigInteger integer) {
135: bigInteger = integer;
136: }
137:
138: public void setObjectBoolean(Boolean boolean1) {
139: objectBoolean = boolean1;
140: }
141:
142: public void setObjectByte(Byte byte1) {
143: objectByte = byte1;
144: }
145:
146: public void setObjectDouble(Double double1) {
147: objectDouble = double1;
148: }
149:
150: public void setObjectFloat(Float float1) {
151: objectFloat = float1;
152: }
153:
154: public void setObjectInt(Integer integer) {
155: objectInt = integer;
156: }
157:
158: public void setObjectLong(Long long1) {
159: objectLong = long1;
160: }
161:
162: public void setObjectShort(Short 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 date) {
195: sqlDate = date;
196: }
197:
198: public void setSqlTime(java.sql.Time time) {
199: sqlTime = time;
200: }
201:
202: public void setString(String string) {
203: this .string = string;
204: }
205:
206: public void setUtilDate(java.util.Date date) {
207: utilDate = date;
208: }
209:
210: }
|