[DUMP CSV] -
This commit is contained in:
parent
f79c06209e
commit
7563499740
|
@ -1,93 +1,93 @@
|
|||
|
||||
package eu.dnetlib.dhp.oa.graph.dump.csv;
|
||||
|
||||
import eu.dnetlib.dhp.utils.DHPUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import eu.dnetlib.dhp.utils.DHPUtils;
|
||||
|
||||
/**
|
||||
* @author miriam.baglioni
|
||||
* @Date 05/05/23
|
||||
*/
|
||||
public class AuthorResult implements Serializable {
|
||||
private String authorId;
|
||||
private String firstName;
|
||||
private String lastName;
|
||||
private String fullName;
|
||||
private String orcid;
|
||||
private String resultId;
|
||||
private String rank;
|
||||
private String authorId;
|
||||
private String firstName;
|
||||
private String lastName;
|
||||
private String fullName;
|
||||
private String orcid;
|
||||
private String resultId;
|
||||
private String rank;
|
||||
|
||||
public String getFullName() {
|
||||
return fullName;
|
||||
}
|
||||
|
||||
public String getFullName() {
|
||||
return fullName;
|
||||
}
|
||||
public void setFullName(String fullName) {
|
||||
this.fullName = fullName;
|
||||
}
|
||||
|
||||
public void setFullName(String fullName) {
|
||||
this.fullName = fullName;
|
||||
}
|
||||
public String getAuthorId() {
|
||||
return authorId;
|
||||
}
|
||||
|
||||
public String getAuthorId() {
|
||||
return authorId;
|
||||
}
|
||||
public void setAuthorId(String authorId) {
|
||||
this.authorId = authorId;
|
||||
}
|
||||
|
||||
public void setAuthorId(String authorId) {
|
||||
this.authorId = authorId;
|
||||
}
|
||||
public String getResultId() {
|
||||
return resultId;
|
||||
}
|
||||
|
||||
public String getResultId() {
|
||||
return resultId;
|
||||
}
|
||||
public void setResultId(String resultId) {
|
||||
this.resultId = resultId;
|
||||
}
|
||||
|
||||
public void setResultId(String resultId) {
|
||||
this.resultId = resultId;
|
||||
}
|
||||
public String getRank() {
|
||||
return rank;
|
||||
}
|
||||
|
||||
public String getRank() {
|
||||
return rank;
|
||||
}
|
||||
public void setRank(String rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
|
||||
public void setRank(String rank) {
|
||||
this.rank = rank;
|
||||
}
|
||||
public String getId() {
|
||||
return authorId;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return authorId;
|
||||
}
|
||||
public void setId(String id) {
|
||||
this.authorId = id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.authorId = id;
|
||||
}
|
||||
public String getFirstName() {
|
||||
return firstName;
|
||||
}
|
||||
|
||||
public String getFirstName() {
|
||||
return firstName;
|
||||
}
|
||||
public void setFirstName(String firstName) {
|
||||
this.firstName = firstName;
|
||||
}
|
||||
|
||||
public void setFirstName(String firstName) {
|
||||
this.firstName = firstName;
|
||||
}
|
||||
public String getLastName() {
|
||||
return lastName;
|
||||
}
|
||||
|
||||
public String getLastName() {
|
||||
return lastName;
|
||||
}
|
||||
public void setLastName(String lastName) {
|
||||
this.lastName = lastName;
|
||||
}
|
||||
|
||||
public void setLastName(String lastName) {
|
||||
this.lastName = lastName;
|
||||
}
|
||||
public String getOrcid() {
|
||||
return orcid;
|
||||
}
|
||||
|
||||
public String getOrcid() {
|
||||
return orcid;
|
||||
}
|
||||
public void setOrcid(String orcid) {
|
||||
this.orcid = orcid;
|
||||
}
|
||||
|
||||
public void setOrcid(String orcid) {
|
||||
this.orcid = orcid;
|
||||
}
|
||||
public void autosetId() {
|
||||
if (orcid != null) {
|
||||
authorId = DHPUtils.md5(orcid);
|
||||
} else {
|
||||
authorId = DHPUtils.md5(resultId + firstName + lastName + rank);
|
||||
}
|
||||
|
||||
public void autosetId() {
|
||||
if(orcid != null){
|
||||
authorId = DHPUtils.md5(orcid);
|
||||
}else{
|
||||
authorId = DHPUtils.md5(resultId + firstName + lastName + rank);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
package eu.dnetlib.dhp.oa.graph.dump.csv;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
@ -6,6 +7,6 @@ import java.io.Serializable;
|
|||
* @author miriam.baglioni
|
||||
* @Date 10/05/23
|
||||
*/
|
||||
public class Constats implements Serializable {
|
||||
public final static String SEP = "\t";
|
||||
public class Constants implements Serializable {
|
||||
public final static String SEP = "\t";
|
||||
}
|
Loading…
Reference in New Issue