View Javadoc
1   package com.opencsv.bean.mocks.recurse;
2   
3   import com.opencsv.bean.CsvBindByName;
4   import com.opencsv.bean.CsvBindByPosition;
5   
6   public class RecursionMockLevelThreePointZero {
7   
8       /**
9        * This constructor exists to ensure that opencsv cannot create this
10       * bean. This bean must be created and initialized by the encapsulating
11       * bean.
12       *
13       * @param f The floating point number to initialize the bean with
14       */
15      public RecursionMockLevelThreePointZero(float f) {
16          floatLevelThree = f;
17      }
18  
19      @CsvBindByName
20      @CsvBindByPosition(position = 3)
21      private float floatLevelThree;
22  
23      public float getFloatLevelThree() {
24          return floatLevelThree;
25      }
26  
27      public void setFloatLevelThree(float floatLevelThree) {
28          this.floatLevelThree = floatLevelThree;
29      }
30  }