1
0
Fork 0

GetCSV refactoring - added ignore annotation for fields not in input csv

This commit is contained in:
Miriam Baglioni 2021-08-13 10:06:49 +02:00
parent 58f241f4a2
commit 5cd5714530
1 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ package eu.dnetlib.dhp.actionmanager.project.utils.model;
import java.io.Serializable;
import com.opencsv.bean.CsvBindByName;
import com.opencsv.bean.CsvIgnore;
/**
* The model for the programme csv file
@ -22,10 +23,10 @@ public class CSVProgramme implements Serializable {
@CsvBindByName(column = "language")
private String language;
@CsvBindByName(column = "classification")
@CsvIgnore
private String classification;
@CsvBindByName(column = "classification_short")
@CsvIgnore
private String classification_short;
public String getClassification_short() {