01: /*
02: * Copyright 2004-2005 Fouad HAMDI.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.csvbeans.samples.strategy;
17:
18: /**
19: * @author Fouad Hamdi
20: */
21: public class BeanTag2 {
22: private Integer field1;
23:
24: private Integer field2;
25:
26: private Integer field3;
27:
28: /**
29: * @return Returns the field1.
30: */
31: public Integer getField1() {
32: return field1;
33: }
34:
35: /**
36: * @param field1
37: * The field1 to set.
38: */
39: public void setField1(Integer field1) {
40: this .field1 = field1;
41: }
42:
43: /**
44: * @return Returns the field2.
45: */
46: public Integer getField2() {
47: return field2;
48: }
49:
50: /**
51: * @param field2
52: * The field2 to set.
53: */
54: public void setField2(Integer field2) {
55: this .field2 = field2;
56: }
57:
58: /**
59: * @return Returns the field3.
60: */
61: public Integer getField3() {
62: return field3;
63: }
64:
65: /**
66: * @param field3
67: * The field3 to set.
68: */
69: public void setField3(Integer field3) {
70: this .field3 = field3;
71: }
72:
73: public String toString() {
74: return "BeanTag2\n\tField1: " + field1 + "\n\tField2: "
75: + field2 + "\n\tField3: " + field3;
76: }
77: }
|