001: /*
002: * Copyright 2004-2006 the original author or authors.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016:
017: package org.compass.core.test.property.simple;
018:
019: import java.io.File;
020: import java.math.BigDecimal;
021: import java.math.BigInteger;
022: import java.net.URL;
023: import java.util.Calendar;
024: import java.util.Date;
025: import java.util.Locale;
026:
027: /**
028: * @author kimchy
029: */
030: public class SimpleTypes {
031:
032: private Long id;
033:
034: private Locale oLocale;
035:
036: private Character oChar;
037:
038: private String oString;
039:
040: private Boolean oBoolean;
041:
042: private Byte oByte;
043:
044: private Short oShort;
045:
046: private Integer oInteger;
047:
048: private Long oLong;
049:
050: private Float oFloat;
051:
052: private Double oDouble;
053:
054: private BigDecimal oBigDecimal;
055:
056: private BigInteger oBigInteger;
057:
058: private Date oDate;
059:
060: private Calendar oCalendar;
061:
062: private char sChar;
063:
064: private boolean sBoolean;
065:
066: private byte sByte;
067:
068: private short sShort;
069:
070: private int sInt;
071:
072: private long sLong;
073:
074: private double sDouble;
075:
076: private float sFloat;
077:
078: private StringBuffer oStringBuffer;
079:
080: private URL oURL;
081:
082: private File oFile;
083:
084: /**
085: * @return Returns the oBigDecimal.
086: */
087: public BigDecimal getOBigDecimal() {
088: return oBigDecimal;
089: }
090:
091: /**
092: * @param bigDecimal
093: * The oBigDecimal to set.
094: */
095: public void setOBigDecimal(BigDecimal bigDecimal) {
096: oBigDecimal = bigDecimal;
097: }
098:
099: /**
100: * @return Returns the oBigInteger.
101: */
102: public BigInteger getOBigInteger() {
103: return oBigInteger;
104: }
105:
106: /**
107: * @param bigInteger
108: * The oBigInteger to set.
109: */
110: public void setOBigInteger(BigInteger bigInteger) {
111: oBigInteger = bigInteger;
112: }
113:
114: /**
115: * @return Returns the oBoolean.
116: */
117: public Boolean getOBoolean() {
118: return oBoolean;
119: }
120:
121: /**
122: * @param boolean1
123: * The oBoolean to set.
124: */
125: public void setOBoolean(Boolean boolean1) {
126: oBoolean = boolean1;
127: }
128:
129: /**
130: * @return Returns the oByte.
131: */
132: public Byte getOByte() {
133: return oByte;
134: }
135:
136: /**
137: * @param byte1
138: * The oByte to set.
139: */
140: public void setOByte(Byte byte1) {
141: oByte = byte1;
142: }
143:
144: /**
145: * @return Returns the oChar.
146: */
147: public Character getOChar() {
148: return oChar;
149: }
150:
151: /**
152: * @param char1
153: * The oChar to set.
154: */
155: public void setOChar(Character char1) {
156: oChar = char1;
157: }
158:
159: /**
160: * @return Returns the oDate.
161: */
162: public Date getODate() {
163: return oDate;
164: }
165:
166: /**
167: * @param date
168: * The oDate to set.
169: */
170: public void setODate(Date date) {
171: oDate = date;
172: }
173:
174: /**
175: * @return Returns the oDouble.
176: */
177: public Double getODouble() {
178: return oDouble;
179: }
180:
181: /**
182: * @param double1
183: * The oDouble to set.
184: */
185: public void setODouble(Double double1) {
186: oDouble = double1;
187: }
188:
189: /**
190: * @return Returns the oFile.
191: */
192: public File getOFile() {
193: return oFile;
194: }
195:
196: /**
197: * @param file
198: * The oFile to set.
199: */
200: public void setOFile(File file) {
201: oFile = file;
202: }
203:
204: /**
205: * @return Returns the oInteger.
206: */
207: public Integer getOInteger() {
208: return oInteger;
209: }
210:
211: /**
212: * @param integer
213: * The oInteger to set.
214: */
215: public void setOInteger(Integer integer) {
216: oInteger = integer;
217: }
218:
219: /**
220: * @return Returns the oLong.
221: */
222: public Long getOLong() {
223: return oLong;
224: }
225:
226: /**
227: * @param long1
228: * The oLong to set.
229: */
230: public void setOLong(Long long1) {
231: oLong = long1;
232: }
233:
234: /**
235: * @return Returns the oShort.
236: */
237: public Short getOShort() {
238: return oShort;
239: }
240:
241: /**
242: * @param short1
243: * The oShort to set.
244: */
245: public void setOShort(Short short1) {
246: oShort = short1;
247: }
248:
249: /**
250: * @return Returns the oString.
251: */
252: public String getOString() {
253: return oString;
254: }
255:
256: /**
257: * @param string
258: * The oString to set.
259: */
260: public void setOString(String string) {
261: oString = string;
262: }
263:
264: /**
265: * @return Returns the oStringBuffer.
266: */
267: public StringBuffer getOStringBuffer() {
268: return oStringBuffer;
269: }
270:
271: /**
272: * @param stringBuffer
273: * The oStringBuffer to set.
274: */
275: public void setOStringBuffer(StringBuffer stringBuffer) {
276: oStringBuffer = stringBuffer;
277: }
278:
279: /**
280: * @return Returns the oURL.
281: */
282: public URL getOURL() {
283: return oURL;
284: }
285:
286: /**
287: * @param ourl
288: * The oURL to set.
289: */
290: public void setOURL(URL ourl) {
291: oURL = ourl;
292: }
293:
294: /**
295: * @return Returns the sBoolean.
296: */
297: public boolean isSBoolean() {
298: return sBoolean;
299: }
300:
301: /**
302: * @param boolean1
303: * The sBoolean to set.
304: */
305: public void setSBoolean(boolean boolean1) {
306: sBoolean = boolean1;
307: }
308:
309: /**
310: * @return Returns the sByte.
311: */
312: public byte getSByte() {
313: return sByte;
314: }
315:
316: /**
317: * @param byte1
318: * The sByte to set.
319: */
320: public void setSByte(byte byte1) {
321: sByte = byte1;
322: }
323:
324: /**
325: * @return Returns the sChar.
326: */
327: public char getSChar() {
328: return sChar;
329: }
330:
331: /**
332: * @param char1
333: * The sChar to set.
334: */
335: public void setSChar(char char1) {
336: sChar = char1;
337: }
338:
339: /**
340: * @return Returns the sDouble.
341: */
342: public double getSDouble() {
343: return sDouble;
344: }
345:
346: /**
347: * @param double1
348: * The sDouble to set.
349: */
350: public void setSDouble(double double1) {
351: sDouble = double1;
352: }
353:
354: /**
355: * @return Returns the sInt.
356: */
357: public int getSInt() {
358: return sInt;
359: }
360:
361: /**
362: * @param int1
363: * The sInt to set.
364: */
365: public void setSInt(int int1) {
366: sInt = int1;
367: }
368:
369: /**
370: * @return Returns the sLong.
371: */
372: public long getSLong() {
373: return sLong;
374: }
375:
376: /**
377: * @param long1
378: * The sLong to set.
379: */
380: public void setSLong(long long1) {
381: sLong = long1;
382: }
383:
384: /**
385: * @return Returns the sShort.
386: */
387: public short getSShort() {
388: return sShort;
389: }
390:
391: /**
392: * @param short1
393: * The sShort to set.
394: */
395: public void setSShort(short short1) {
396: sShort = short1;
397: }
398:
399: /**
400: * @return Returns the id.
401: */
402: public Long getId() {
403: return id;
404: }
405:
406: /**
407: * @param id
408: * The id to set.
409: */
410: public void setId(Long id) {
411: this .id = id;
412: }
413:
414: /**
415: * @return Returns the sFloat.
416: */
417: public float getSFloat() {
418: return sFloat;
419: }
420:
421: /**
422: * @param float1
423: * The sFloat to set.
424: */
425: public void setSFloat(float float1) {
426: sFloat = float1;
427: }
428:
429: /**
430: * @return Returns the oFloat.
431: */
432: public Float getOFloat() {
433: return oFloat;
434: }
435:
436: /**
437: * @param float1
438: * The oFloat to set.
439: */
440: public void setOFloat(Float float1) {
441: oFloat = float1;
442: }
443:
444: public Calendar getOCalendar() {
445: return oCalendar;
446: }
447:
448: public void setOCalendar(Calendar calendar) {
449: oCalendar = calendar;
450: }
451:
452: public Locale getOLocale() {
453: return oLocale;
454: }
455:
456: public void setOLocale(Locale locale) {
457: oLocale = locale;
458: }
459:
460: }
|