View Javadoc
1   /*
2    *    Copyright 2009-2023 the original author or authors.
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    *       https://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  package org.apache.ibatis.submitted.dynsql;
17  
18  import java.math.BigDecimal;
19  import java.math.BigInteger;
20  
21  public class NumericRow {
22    private Integer id;
23    private Byte tinynumber;
24    private Short smallnumber;
25    private Long longinteger;
26    private BigInteger biginteger;
27    private BigDecimal numericnumber;
28    private BigDecimal decimalnumber;
29    private Float realnumber;
30    private Float floatnumber;
31    private Double doublenumber;
32  
33    public Integer getId() {
34      return id;
35    }
36  
37    public void setId(Integer id) {
38      this.id = id;
39    }
40  
41    public Byte getTinynumber() {
42      return tinynumber;
43    }
44  
45    public void setTinynumber(Byte tinynumber) {
46      this.tinynumber = tinynumber;
47    }
48  
49    public Short getSmallnumber() {
50      return smallnumber;
51    }
52  
53    public void setSmallnumber(Short smallnumber) {
54      this.smallnumber = smallnumber;
55    }
56  
57    public Long getLonginteger() {
58      return longinteger;
59    }
60  
61    public void setLonginteger(Long longinteger) {
62      this.longinteger = longinteger;
63    }
64  
65    public BigInteger getBiginteger() {
66      return biginteger;
67    }
68  
69    public void setBiginteger(BigInteger biginteger) {
70      this.biginteger = biginteger;
71    }
72  
73    public BigDecimal getNumericnumber() {
74      return numericnumber;
75    }
76  
77    public void setNumericnumber(BigDecimal numericnumber) {
78      this.numericnumber = numericnumber;
79    }
80  
81    public BigDecimal getDecimalnumber() {
82      return decimalnumber;
83    }
84  
85    public void setDecimalnumber(BigDecimal decimalnumber) {
86      this.decimalnumber = decimalnumber;
87    }
88  
89    public Float getRealnumber() {
90      return realnumber;
91    }
92  
93    public void setRealnumber(Float realnumber) {
94      this.realnumber = realnumber;
95    }
96  
97    public Float getFloatnumber() {
98      return floatnumber;
99    }
100 
101   public void setFloatnumber(Float floatnumber) {
102     this.floatnumber = floatnumber;
103   }
104 
105   public Double getDoublenumber() {
106     return doublenumber;
107   }
108 
109   public void setDoublenumber(Double doublenumber) {
110     this.doublenumber = doublenumber;
111   }
112 }