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