2009/05/20 - Apache Shale has been retired.
For more information, please explore the Attic.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shale.tiger.config;
19
20 import org.apache.shale.tiger.managed.Bean;
21 import org.apache.shale.tiger.managed.Scope;
22 import org.apache.shale.tiger.managed.Value;
23
24 /***
25 * <p>JavaBean class for testing.</p>
26 */
27 @Bean(name="bean3", scope=Scope.SESSION)
28 public class TestBean3 {
29
30 /*** Creates a new instance of TestBean */
31 public TestBean3() {
32 }
33
34 /***
35 * Holds value of property byteProperty.
36 */
37 @Value("-1")
38 private byte byteProperty = (byte) 1;
39
40 /***
41 * Getter for property byteProperty.
42 * @return Value of property byteProperty.
43 */
44 public byte getByteProperty() {
45
46 return this.byteProperty;
47 }
48
49 /***
50 * Setter for property byteProperty.
51 * @param byteProperty New value of property byteProperty.
52 */
53 public void setByteProperty(byte byteProperty) {
54
55 this.byteProperty = byteProperty;
56 }
57
58 /***
59 * Holds value of property charProperty.
60 */
61 @Value("z")
62 private char charProperty = 'a';
63
64 /***
65 * Getter for property charProperty.
66 * @return Value of property charProperty.
67 */
68 public char getCharProperty() {
69
70 return this.charProperty;
71 }
72
73 /***
74 * Setter for property charProperty.
75 * @param charProperty New value of property charProperty.
76 */
77 public void setCharProperty(char charProperty) {
78
79 this.charProperty = charProperty;
80 }
81
82 /***
83 * Holds value of property doubleProperty.
84 */
85 @Value("-2.0")
86 private double doubleProperty = (double) 2.0;
87
88 /***
89 * Getter for property doubleProperty.
90 * @return Value of property doubleProperty.
91 */
92 public double getDoubleProperty() {
93
94 return this.doubleProperty;
95 }
96
97 /***
98 * Setter for property doubleProperty.
99 * @param doubleProperty New value of property doubleProperty.
100 */
101 public void setDoubleProperty(double doubleProperty) {
102
103 this.doubleProperty = doubleProperty;
104 }
105
106 /***
107 * Holds value of property floatProperty.
108 */
109 @Value("-3.0")
110 private float floatProperty = (float) 3.0;
111
112 /***
113 * Getter for property floatProperty.
114 * @return Value of property floatProperty.
115 */
116 public float getFloatProperty() {
117
118 return this.floatProperty;
119 }
120
121 /***
122 * Setter for property floatProperty.
123 * @param floatProperty New value of property floatProperty.
124 */
125 public void setFloatProperty(float floatProperty) {
126
127 this.floatProperty = floatProperty;
128 }
129
130 /***
131 * Holds value of property intProperty.
132 */
133 @Value("-4")
134 private int intProperty = 4;
135
136 /***
137 * Getter for property intProperty.
138 * @return Value of property intProperty.
139 */
140 public int getIntProperty() {
141
142 return this.intProperty;
143 }
144
145 /***
146 * Setter for property intProperty.
147 * @param intProperty New value of property intProperty.
148 */
149 public void setIntProperty(int intProperty) {
150
151 this.intProperty = intProperty;
152 }
153
154 /***
155 * Holds value of property longProperty.
156 */
157 @Value("-5")
158 private long longProperty = (long) 5;
159
160 /***
161 * Getter for property longProperty.
162 * @return Value of property longProperty.
163 */
164 public long getLongProperty() {
165
166 return this.longProperty;
167 }
168
169 /***
170 * Setter for property longProperty.
171 * @param longProperty New value of property longProperty.
172 */
173 public void setLongProperty(long longProperty) {
174
175 this.longProperty = longProperty;
176 }
177
178 /***
179 * Holds value of property shortProperty.
180 */
181 @Value("-6")
182 private short shortProperty = (short) 6;
183
184 /***
185 * Getter for property shortProperty.
186 * @return Value of property shortProperty.
187 */
188 public short getShortProperty() {
189
190 return this.shortProperty;
191 }
192
193 /***
194 * Setter for property shortProperty.
195 * @param shortProperty New value of property shortProperty.
196 */
197 public void setShortProperty(short shortProperty) {
198
199 this.shortProperty = shortProperty;
200 }
201
202 /***
203 * Holds value of property stringProperty.
204 */
205 @Value("Annotated")
206 private String stringProperty = "String";
207
208 /***
209 * Getter for property stringProperty.
210 * @return Value of property stringProperty.
211 */
212 public String getStringProperty() {
213
214 return this.stringProperty;
215 }
216
217 /***
218 * Setter for property stringProperty.
219 * @param stringProperty New value of property stringProperty.
220 */
221 public void setStringProperty(String stringProperty) {
222
223 this.stringProperty = stringProperty;
224 }
225
226 }