1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package net.sf.json.sample;
18
19 import java.math.BigDecimal;
20 import java.math.BigInteger;
21
22
23
24
25 public class NumberBean {
26 private BigDecimal pbigdec;
27 private BigInteger pbigint;
28 private byte pbyte;
29 private double pdouble;
30 private float pfloat;
31 private int pint;
32 private long plong;
33 private short pshort;
34 private Byte pwbyte;
35 private Double pwdouble;
36 private Float pwfloat;
37 private Integer pwint;
38 private Long pwlong;
39 private Short pwshort;
40
41 public BigDecimal getPbigdec() {
42 return pbigdec;
43 }
44
45 public BigInteger getPbigint() {
46 return pbigint;
47 }
48
49 public byte getPbyte() {
50 return pbyte;
51 }
52
53 public double getPdouble() {
54 return pdouble;
55 }
56
57 public float getPfloat() {
58 return pfloat;
59 }
60
61 public int getPint() {
62 return pint;
63 }
64
65 public long getPlong() {
66 return plong;
67 }
68
69 public short getPshort() {
70 return pshort;
71 }
72
73 public Byte getPwbyte() {
74 return pwbyte;
75 }
76
77 public Double getPwdouble() {
78 return pwdouble;
79 }
80
81 public Float getPwfloat() {
82 return pwfloat;
83 }
84
85 public Integer getPwint() {
86 return pwint;
87 }
88
89 public Long getPwlong() {
90 return pwlong;
91 }
92
93 public Short getPwshort() {
94 return pwshort;
95 }
96
97 public void setPbigdec( BigDecimal pbigdec ) {
98 this.pbigdec = pbigdec;
99 }
100
101 public void setPbigint( BigInteger pbigint ) {
102 this.pbigint = pbigint;
103 }
104
105 public void setPbyte( byte pbyte ) {
106 this.pbyte = pbyte;
107 }
108
109 public void setPdouble( double pdouble ) {
110 this.pdouble = pdouble;
111 }
112
113 public void setPfloat( float pfloat ) {
114 this.pfloat = pfloat;
115 }
116
117 public void setPint( int pint ) {
118 this.pint = pint;
119 }
120
121 public void setPlong( long plong ) {
122 this.plong = plong;
123 }
124
125 public void setPshort( short pshort ) {
126 this.pshort = pshort;
127 }
128
129 public void setPwbyte( Byte pwbyte ) {
130 this.pwbyte = pwbyte;
131 }
132
133 public void setPwdouble( Double pwdouble ) {
134 this.pwdouble = pwdouble;
135 }
136
137 public void setPwfloat( Float pwfloat ) {
138 this.pwfloat = pwfloat;
139 }
140
141 public void setPwint( Integer pwint ) {
142 this.pwint = pwint;
143 }
144
145 public void setPwlong( Long pwlong ) {
146 this.pwlong = pwlong;
147 }
148
149 public void setPwshort( Short pwshort ) {
150 this.pwshort = pwshort;
151 }
152 }