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 Section2Bean {
22: private Integer column1;
23:
24: private String column2;
25:
26: /**
27: * @return Returns the column1.
28: */
29: public Integer getColumn1() {
30: return column1;
31: }
32:
33: /**
34: * @param column1
35: * The column1 to set.
36: */
37: public void setColumn1(Integer column1) {
38: this .column1 = column1;
39: }
40:
41: /**
42: * @return Returns the column2.
43: */
44: public String getColumn2() {
45: return column2;
46: }
47:
48: /**
49: * @param column2
50: * The column2 to set.
51: */
52: public void setColumn2(String column2) {
53: this .column2 = column2;
54: }
55:
56: public String toString() {
57: return "Section2Bean:\n\tcolumn1: " + column1 + "\n\tcolumn2: "
58: + column2;
59: }
60: }
|