1
2
3
4
5
6
7
8
9
10
11 package org.csveed.test.model;
12
13 import org.csveed.annotations.CsvCell;
14 import org.csveed.annotations.CsvFile;
15 import org.csveed.bean.ColumnNameMapper;
16
17
18
19
20 @CsvFile(mappingStrategy = ColumnNameMapper.class)
21 public class BeanWithNameMatching {
22
23
24 @CsvCell(columnName = "postal code")
25 public String line3;
26
27
28 @CsvCell(columnName = "street")
29 public String line1;
30
31
32 @CsvCell(columnName = "CITY")
33 public String line2;
34
35
36
37
38
39
40 public String getLine1() {
41 return line1;
42 }
43
44
45
46
47
48
49
50 public void setLine1(String line1) {
51 this.line1 = line1;
52 }
53
54
55
56
57
58
59 public String getLine2() {
60 return line2;
61 }
62
63
64
65
66
67
68
69 public void setLine2(String line2) {
70 this.line2 = line2;
71 }
72
73
74
75
76
77
78 public String getLine3() {
79 return line3;
80 }
81
82
83
84
85
86
87
88 public void setLine3(String line3) {
89 this.line3 = line3;
90 }
91 }