1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.beanutils;
18
19 /**
20 * Bean that has primitive properties
21 */
22 public class PrimitiveBean {
23
24 private float _float;
25 private double _double;
26 private boolean _boolean;
27 private long _long;
28 private int _int;
29
30 public float getFloat() {
31 return _float;
32 }
33
34 public void setFloat(float _float) {
35 this._float = _float;
36 }
37
38 public double getDouble() {
39 return _double;
40 }
41
42 public void setDouble(double _double) {
43 this._double = _double;
44 }
45
46 public boolean getBoolean() {
47 return _boolean;
48 }
49
50 public void setBoolean(boolean _boolean) {
51 this._boolean = _boolean;
52 }
53
54 public long getLong() {
55 return _long;
56 }
57
58 public void setLong(long _long) {
59 this._long = _long;
60 }
61
62 public int getInt() {
63 return _int;
64 }
65
66 public void setInt(int _int) {
67 this._int = _int;
68 }
69 }