1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.beanutils2;
19
20
21
22
23
24 public class BenchBean {
25
26
27
28
29 private boolean booleanProperty = true;
30
31
32
33
34 private byte byteProperty = (byte) 121;
35
36
37
38
39 private double doubleProperty = 321.0;
40
41
42
43
44 private float floatProperty = (float) 123.0;
45
46
47
48
49 private int intProperty = 123;
50
51
52
53
54 private long longProperty = 321;
55
56
57
58
59 private short shortProperty = (short) 987;
60
61
62
63
64 private String stringProperty = "This is a string";
65
66 public boolean getBooleanProperty() {
67 return booleanProperty;
68 }
69
70 public byte getByteProperty() {
71 return this.byteProperty;
72 }
73
74 public double getDoubleProperty() {
75 return this.doubleProperty;
76 }
77
78 public float getFloatProperty() {
79 return this.floatProperty;
80 }
81
82 public int getIntProperty() {
83 return this.intProperty;
84 }
85
86 public long getLongProperty() {
87 return this.longProperty;
88 }
89
90 public short getShortProperty() {
91 return this.shortProperty;
92 }
93
94 public String getStringProperty() {
95 return this.stringProperty;
96 }
97
98 public void setBooleanProperty(final boolean booleanProperty) {
99 this.booleanProperty = booleanProperty;
100 }
101
102 public void setByteProperty(final byte byteProperty) {
103 this.byteProperty = byteProperty;
104 }
105
106 public void setDoubleProperty(final double doubleProperty) {
107 this.doubleProperty = doubleProperty;
108 }
109
110 public void setFloatProperty(final float floatProperty) {
111 this.floatProperty = floatProperty;
112 }
113
114 public void setIntProperty(final int intProperty) {
115 this.intProperty = intProperty;
116 }
117
118 public void setLongProperty(final long longProperty) {
119 this.longProperty = longProperty;
120 }
121
122 public void setShortProperty(final short shortProperty) {
123 this.shortProperty = shortProperty;
124 }
125
126 public void setStringProperty(final String stringProperty) {
127 this.stringProperty = stringProperty;
128 }
129
130 }