openCitations #194

Merged
miriam.baglioni merged 6 commits from openCitations into beta 2022-02-14 14:58:28 +01:00
1 changed files with 1 additions and 49 deletions
Showing only changes of commit 1490867cc7 - Show all commits

View File

@ -6,30 +6,12 @@ import java.io.Serializable;
import com.opencsv.bean.CsvBindByPosition; import com.opencsv.bean.CsvBindByPosition;
public class COCI implements Serializable { public class COCI implements Serializable {
@CsvBindByPosition(position = 0)
// @CsvBindByName(column = "doi")
private String oci; private String oci;
Review

This commented line is confusing. The first column of the csv is the coci id, not the doi.
The same applies to the commented lines below

This commented line is confusing. The first column of the csv is the coci id, not the doi. The same applies to the commented lines below
Review

done

done
@CsvBindByPosition(position = 1)
// @CsvBindByName(column = "level1")
private String citing; private String citing;
@CsvBindByPosition(position = 2)
// @CsvBindByName(column = "level2")
private String cited; private String cited;
@CsvBindByPosition(position = 3)
// @CsvBindByName(column = "level3")
private String creation;
@CsvBindByPosition(position = 4)
private String timespan;
@CsvBindByPosition(position = 5)
private String journal_sc;
@CsvBindByPosition(position = 6)
private String author_sc;
public String getOci() { public String getOci() {
return oci; return oci;
@ -55,35 +37,5 @@ public class COCI implements Serializable {
this.cited = cited; this.cited = cited;
} }
public String getCreation() {
return creation;
}
public void setCreation(String creation) {
this.creation = creation;
}
public String getTimespan() {
return timespan;
}
public void setTimespan(String timespan) {
this.timespan = timespan;
}
public String getJournal_sc() {
return journal_sc;
}
public void setJournal_sc(String journal_sc) {
this.journal_sc = journal_sc;
}
public String getAuthor_sc() {
return author_sc;
}
public void setAuthor_sc(String author_sc) {
this.author_sc = author_sc;
}
} }