001: //$Id: AllTypes.java 7 2007-08-17 19:32:18Z jcamaia $
002:
003: package net.sf.persist.tests.performance;
004:
005: import net.sf.persist.annotations.Column;
006:
007: public class AllTypes {
008:
009: private long intCol;
010: private boolean booleanCol;
011: private int tinyintCol;
012: private int smallintCol;
013: private long bigintCol;
014: private long decimalCol;
015: private double doubleCol;
016: private float realCol;
017:
018: public long getIntCol() {
019: return intCol;
020: }
021:
022: public void setIntCol(long intCol) {
023: this .intCol = intCol;
024: }
025:
026: public boolean getBooleanCol() {
027: return booleanCol;
028: }
029:
030: public void setBooleanCol(boolean booleanCol) {
031: this .booleanCol = booleanCol;
032: }
033:
034: public int getTinyintCol() {
035: return tinyintCol;
036: }
037:
038: public void setTinyintCol(int tinyintCol) {
039: this .tinyintCol = tinyintCol;
040: }
041:
042: public int getSmallintCol() {
043: return smallintCol;
044: }
045:
046: public void setSmallintCol(int smallintCol) {
047: this .smallintCol = smallintCol;
048: }
049:
050: public long getBigintCol() {
051: return bigintCol;
052: }
053:
054: public void setBigintCol(long bigintCol) {
055: this .bigintCol = bigintCol;
056: }
057:
058: public long getDecimalCol() {
059: return decimalCol;
060: }
061:
062: public void setDecimalCol(long decimalCol) {
063: this .decimalCol = decimalCol;
064: }
065:
066: public double getDoubleCol() {
067: return doubleCol;
068: }
069:
070: public void setDoubleCol(double doubleCol) {
071: this .doubleCol = doubleCol;
072: }
073:
074: public float getRealCol() {
075: return realCol;
076: }
077:
078: public void setRealCol(float realCol) {
079: this .realCol = realCol;
080: }
081:
082: private java.sql.Time timeCol;
083: private java.sql.Date dateCol;
084: private java.sql.Timestamp timestampCol;
085:
086: public java.sql.Time getTimeCol() {
087: return timeCol;
088: }
089:
090: public void setTimeCol(java.sql.Time timeCol) {
091: this .timeCol = timeCol;
092: }
093:
094: public java.sql.Date getDateCol() {
095: return dateCol;
096: }
097:
098: public void setDateCol(java.sql.Date dateCol) {
099: this .dateCol = dateCol;
100: }
101:
102: public java.sql.Timestamp getTimestampCol() {
103: return timestampCol;
104: }
105:
106: public void setTimestampCol(java.sql.Timestamp timestampCol) {
107: this .timestampCol = timestampCol;
108: }
109:
110: private byte[] binaryCol;
111: private byte[] blobCol;
112: private Object otherCol;
113: private byte[] uuidCol;
114:
115: public byte[] getBinaryCol() {
116: return binaryCol;
117: }
118:
119: public void setBinaryCol(byte[] binaryCol) {
120: this .binaryCol = binaryCol;
121: }
122:
123: public byte[] getBlobCol() {
124: return blobCol;
125: }
126:
127: public void setBlobCol(byte[] blobCol) {
128: this .blobCol = blobCol;
129: }
130:
131: public Object getOtherCol() {
132: return otherCol;
133: }
134:
135: public void setOtherCol(Object otherCol) {
136: this .otherCol = otherCol;
137: }
138:
139: public byte[] getUuidCol() {
140: return uuidCol;
141: }
142:
143: public void setUuidCol(byte[] uuidCol) {
144: this .uuidCol = uuidCol;
145: }
146:
147: private String varcharCol;
148: private String varcharIgnorecaseCol;
149: private String charCol;
150: private String clobCol;
151:
152: public String getVarcharCol() {
153: return varcharCol;
154: }
155:
156: public void setVarcharCol(String varcharCol) {
157: this .varcharCol = varcharCol;
158: }
159:
160: public String getVarcharIgnorecaseCol() {
161: return varcharIgnorecaseCol;
162: }
163:
164: public void setVarcharIgnorecaseCol(String varcharIgnorecaseCol) {
165: this .varcharIgnorecaseCol = varcharIgnorecaseCol;
166: }
167:
168: public String getCharCol() {
169: return charCol;
170: }
171:
172: public void setCharCol(String charCol) {
173: this .charCol = charCol;
174: }
175:
176: public String getClobCol() {
177: return clobCol;
178: }
179:
180: public void setClobCol(String clobCol) {
181: this .clobCol = clobCol;
182: }
183:
184: private long id;
185:
186: @Column(autoGenerated=true)
187: public long getId() {
188: return id;
189: }
190:
191: public void setId(long id) {
192: this.id = id;
193: }
194:
195: }
|