View Javadoc
1   package com.opencsv.bean.mocks.profile;
2   
3   import com.opencsv.bean.*;
4   
5   import java.time.LocalDate;
6   
7   public class ProfileMismatch {
8   
9       @CsvBindByName(profiles = "number")
10      @CsvBindByPosition(position = 0, profiles = "number")
11      @CsvNumbers(@CsvNumber(value = "0.0", profiles = "mismatch"))
12      private float float1;
13  
14      @CsvBindByName(profiles = "date")
15      @CsvBindByPosition(position = 1, profiles = "date")
16      @CsvDate(value = "MM/dd/yyyy", profiles = "mismatch")
17      private LocalDate localDate1;
18  
19      public float getFloat1() {
20          return float1;
21      }
22  
23      public void setFloat1(float float1) {
24          this.float1 = float1;
25      }
26  
27      public LocalDate getLocalDate1() {
28          return localDate1;
29      }
30  
31      public void setLocalDate1(LocalDate localDate1) {
32          this.localDate1 = localDate1;
33      }
34  }