1 /*
2 * CSVeed (https://github.com/42BV/CSVeed)
3 *
4 * Copyright 2013-2023 CSVeed.
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of The Apache Software License,
8 * Version 2.0 which accompanies this distribution, and is available at
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 */
11 package org.csveed.test.model;
12
13 import org.csveed.annotations.CsvCell;
14 import org.csveed.annotations.CsvFile;
15
16 /**
17 * The Class BeanWithCustomIndexes.
18 */
19 @CsvFile(useHeader = false)
20 public class BeanWithCustomIndexes {
21
22 /** The line 3. */
23 @CsvCell(columnIndex = 5)
24 private String line3;
25
26 /** The line 0. */
27 @CsvCell(columnIndex = 2)
28 private String line0;
29
30 /** The line 1. */
31 @CsvCell(columnIndex = 3)
32 private String line1;
33
34 /** The line 2. */
35 @CsvCell(columnIndex = 4)
36 private String line2;
37
38 /**
39 * Gets the line 3.
40 *
41 * @return the line 3
42 */
43 public String getLine3() {
44 return line3;
45 }
46
47 /**
48 * Sets the line 3.
49 *
50 * @param line3
51 * the new line 3
52 */
53 public void setLine3(String line3) {
54 this.line3 = line3;
55 }
56
57 /**
58 * Gets the line 0.
59 *
60 * @return the line 0
61 */
62 public String getLine0() {
63 return line0;
64 }
65
66 /**
67 * Sets the line 0.
68 *
69 * @param line0
70 * the new line 0
71 */
72 public void setLine0(String line0) {
73 this.line0 = line0;
74 }
75
76 /**
77 * Gets the line 1.
78 *
79 * @return the line 1
80 */
81 public String getLine1() {
82 return line1;
83 }
84
85 /**
86 * Sets the line 1.
87 *
88 * @param line1
89 * the new line 1
90 */
91 public void setLine1(String line1) {
92 this.line1 = line1;
93 }
94
95 /**
96 * Gets the line 2.
97 *
98 * @return the line 2
99 */
100 public String getLine2() {
101 return line2;
102 }
103
104 /**
105 * Sets the line 2.
106 *
107 * @param line2
108 * the new line 2
109 */
110 public void setLine2(String line2) {
111 this.line2 = line2;
112 }
113 }