View Javadoc
1   package org.csveed.test.model;
2   
3   import org.csveed.annotations.CsvFile;
4   import org.csveed.annotations.CsvHeaderName;
5   import org.csveed.annotations.CsvHeaderValue;
6   import org.csveed.bean.ColumnNameMapper;
7   
8   @CsvFile(mappingStrategy = ColumnNameMapper.class, startIndexDynamicColumns = 3)
9   public class BeanCommodity {
10  
11      private String commodity;
12  
13      private String language;
14  
15      @CsvHeaderName
16      private String day;
17  
18      @CsvHeaderValue
19      private int amount;
20  
21      public String getCommodity() {
22          return commodity;
23      }
24  
25      public void setCommodity(String commodity) {
26          this.commodity = commodity;
27      }
28  
29      public String getLanguage() {
30          return language;
31      }
32  
33      public void setLanguage(String language) {
34          this.language = language;
35      }
36  
37      public String getDay() {
38          return day;
39      }
40  
41      public void setDay(String day) {
42          this.day = day;
43      }
44  
45      public int getAmount() {
46          return amount;
47      }
48  
49      public void setAmount(int amount) {
50          this.amount = amount;
51      }
52  }