View Javadoc
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.CsvFile;
14  
15  /**
16   * The Class BeanWithoutNoArgPublicConstructor.
17   */
18  @CsvFile(useHeader = false)
19  public class BeanWithoutNoArgPublicConstructor {
20  
21      /** The name. */
22      private String name;
23  
24      /**
25       * Instantiates a new bean without no arg public constructor.
26       *
27       * @param name
28       *            the name
29       */
30      public BeanWithoutNoArgPublicConstructor(String name) {
31          this.name = name;
32      }
33  
34      /**
35       * Gets the name.
36       *
37       * @return the name
38       */
39      public String getName() {
40          return name;
41      }
42  
43      /**
44       * Sets the name.
45       *
46       * @param name
47       *            the new name
48       */
49      public void setName(String name) {
50          this.name = name;
51      }
52  
53  }