View Javadoc

1   /***
2    * Copyright (C) 2008 rweber <quietgenie@users.sourceforge.net>
3    * 
4    * This file is part of CsvObjectMapper.
5    * 
6    * CsvObjectMapper is free software: you can redistribute it and/or modify
7    * it under the terms of the GNU Lesser General Public License as published by
8    * the Free Software Foundation, either version 3 of the License, or
9    * (at your option) any later version.
10   * 
11   * CsvObjectMapper is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU Lesser General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Lesser General Public License
17   * along with CsvObjectMapper.  If not, see <http://www.gnu.org/licenses/>.
18   */
19  
20  /***
21   * 
22   */
23  package com.projectnine.csvmapper;
24  
25  /***
26   * @author robweber
27   * 
28   */
29  public class CsvComplexTestBean {
30      String foo;
31      CsvSimpleTestBean bar;
32  
33      /***
34       * 
35       */
36      public CsvComplexTestBean() {
37      }
38  
39      /***
40       * @param bar
41       * @param foo
42       */
43      public CsvComplexTestBean(CsvSimpleTestBean bar, String foo) {
44          this.bar = bar;
45          this.foo = foo;
46      }
47  
48      /***
49       * @return the foo
50       */
51      public String getFoo() {
52          return foo;
53      }
54  
55      /***
56       * @param foo
57       *            the foo to set
58       */
59      public void setFoo(String foo) {
60          this.foo = foo;
61      }
62  
63      /***
64       * @return the bar
65       */
66      public CsvSimpleTestBean getBar() {
67          return bar;
68      }
69  
70      /***
71       * @param bar
72       *            the bar to set
73       */
74      public void setBar(CsvSimpleTestBean bar) {
75          this.bar = bar;
76      }
77  }