1 16 17 package org.springframework.beans; 18 19 import java.math.BigDecimal ; 20 import java.math.BigInteger ; 21 22 26 public class NumberTestBean { 27 28 private short short1; 29 private Short short2; 30 31 private int int1; 32 private Integer int2; 33 34 private long long1; 35 private Long long2; 36 37 private BigInteger bigInteger; 38 39 private float float1; 40 private Float float2; 41 42 private double double1; 43 private Double double2; 44 45 private BigDecimal bigDecimal; 46 47 public short getShort1() { 48 return short1; 49 } 50 51 public void setShort1(short short1) { 52 this.short1 = short1; 53 } 54 55 public Short getShort2() { 56 return short2; 57 } 58 59 public void setShort2(Short short2) { 60 this.short2 = short2; 61 } 62 63 public int getInt1() { 64 return int1; 65 } 66 67 public void setInt1(int int1) { 68 this.int1 = int1; 69 } 70 71 public Integer getInt2() { 72 return int2; 73 } 74 75 public void setInt2(Integer int2) { 76 this.int2 = int2; 77 } 78 79 public long getLong1() { 80 return long1; 81 } 82 83 public void setLong1(long long1) { 84 this.long1 = long1; 85 } 86 87 public Long getLong2() { 88 return long2; 89 } 90 91 public void setLong2(Long long2) { 92 this.long2 = long2; 93 } 94 95 public BigInteger getBigInteger() { 96 return bigInteger; 97 } 98 99 public void setBigInteger(BigInteger bigInteger) { 100 this.bigInteger = bigInteger; 101 } 102 103 public float getFloat1() { 104 return float1; 105 } 106 107 public void setFloat1(float float1) { 108 this.float1 = float1; 109 } 110 111 public Float getFloat2() { 112 return float2; 113 } 114 115 public void setFloat2(Float float2) { 116 this.float2 = float2; 117 } 118 119 public double getDouble1() { 120 return double1; 121 } 122 123 public void setDouble1(double double1) { 124 this.double1 = double1; 125 } 126 127 public Double getDouble2() { 128 return double2; 129 } 130 131 public void setDouble2(Double double2) { 132 this.double2 = double2; 133 } 134 135 public BigDecimal getBigDecimal() { 136 return bigDecimal; 137 } 138 139 public void setBigDecimal(BigDecimal bigDecimal) { 140 this.bigDecimal = bigDecimal; 141 } 142 143 } 144 | Popular Tags |