2020-06-24 16:29:32 +02:00
|
|
|
|
|
|
|
package eu.dnetlib.doiboost.orcidnodoi.model;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
import eu.dnetlib.doiboost.orcid.model.AuthorData;
|
|
|
|
|
2020-09-15 11:32:49 +02:00
|
|
|
/**
|
|
|
|
* This class models the data related to a contributor, that are retrieved from an orcid publication
|
|
|
|
*/
|
|
|
|
|
2020-06-24 16:29:32 +02:00
|
|
|
public class Contributor extends AuthorData implements Serializable {
|
|
|
|
private String sequence;
|
|
|
|
private String role;
|
2020-06-25 18:43:29 +02:00
|
|
|
private transient boolean simpleMatch = false;
|
|
|
|
private transient Double score = 0.0;
|
|
|
|
private transient boolean bestMatch = false;
|
2020-06-24 16:29:32 +02:00
|
|
|
|
|
|
|
public String getSequence() {
|
|
|
|
return sequence;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSequence(String sequence) {
|
|
|
|
this.sequence = sequence;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getRole() {
|
|
|
|
return role;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRole(String role) {
|
|
|
|
this.role = role;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isSimpleMatch() {
|
|
|
|
return simpleMatch;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSimpleMatch(boolean simpleMatch) {
|
|
|
|
this.simpleMatch = simpleMatch;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Double getScore() {
|
|
|
|
return score;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setScore(Double score) {
|
|
|
|
this.score = score;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isBestMatch() {
|
|
|
|
return bestMatch;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setBestMatch(boolean bestMatch) {
|
|
|
|
this.bestMatch = bestMatch;
|
|
|
|
}
|
|
|
|
}
|