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;
20  import java.math.BigInteger;
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 string;
29      private BigInteger bigInteger;
30      private int primitiveInt;
31      private Integer objectInt;
32      private long primitiveLong;
33      private Long objectLong;
34      private short primitiveShort;
35      private Short objectShort;
36      private BigDecimal bigDecimal;
37      private float primitiveFloat;
38      private Float objectFloat;
39      private double primitiveDouble;
40      private Double objectDouble;
41      private boolean primitiveBoolean;
42      private Boolean objectBoolean;
43      private byte primitiveByte;
44      private Byte objectByte;
45      private java.util.Date utilDate;
46      private java.sql.Date sqlDate;
47      private java.sql.Time sqlTime;
48      
49      
50      public BigDecimal getBigDecimal() {
51          return bigDecimal;
52      }
53  
54      public BigInteger getBigInteger() {
55          return bigInteger;
56      }
57  
58      public Boolean getObjectBoolean() {
59          return objectBoolean;
60      }
61  
62      public Byte getObjectByte() {
63          return objectByte;
64      }
65  
66      public Double getObjectDouble() {
67          return objectDouble;
68      }
69  
70      public Float getObjectFloat() {
71          return objectFloat;
72      }
73  
74      public Integer getObjectInt() {
75          return objectInt;
76      }
77  
78      public Long getObjectLong() {
79          return objectLong;
80      }
81  
82      public Short 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 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 }