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 Section1Bean {
22: private Integer column1;
23:
24: private Integer column2;
25:
26: private SectionBean sectionBean = new SectionBean();
27:
28: /**
29: * @return Returns the column1.
30: */
31: public Integer getColumn1() {
32: return column1;
33: }
34:
35: /**
36: * @param column1
37: * The column1 to set.
38: */
39: public void setColumn1(Integer column1) {
40: this .column1 = column1;
41: }
42:
43: /**
44: * @return Returns the column2.
45: */
46: public Integer getColumn2() {
47: return column2;
48: }
49:
50: /**
51: * @param column2
52: * The column2 to set.
53: */
54: public void setColumn2(Integer column2) {
55: this .column2 = column2;
56: }
57:
58: /**
59: * @return Returns the sectionBean.
60: */
61: public SectionBean getSectionBean() {
62: return sectionBean;
63: }
64:
65: /**
66: * @param sectionBean
67: * The sectionBean to set.
68: */
69: public void setSectionBean(SectionBean sectionBean) {
70: this .sectionBean = sectionBean;
71: }
72:
73: public String toString() {
74: return "Section1Bean:\n\tcolumn1: " + column1 + "\n\tcolumn2: "
75: + column2 + "\n\tsectionBean: " + sectionBean;
76: }
77: }
|