1
|
package eu.dnetlib.pace.model.gt;
|
2
|
|
3
|
public class Match extends Author {
|
4
|
|
5
|
private double score;
|
6
|
|
7
|
public Match() {
|
8
|
super();
|
9
|
}
|
10
|
|
11
|
public static Match from(final Author a) {
|
12
|
final Match m = new Match();
|
13
|
if (a.isWellFormed()) {
|
14
|
m.setFirstname(a.getFirstname());
|
15
|
m.setSecondnames(a.getSecondnames());
|
16
|
}
|
17
|
m.setFullname(a.getFullname());
|
18
|
m.setId(a.getId());
|
19
|
|
20
|
return m;
|
21
|
}
|
22
|
|
23
|
public double getScore() {
|
24
|
return score;
|
25
|
}
|
26
|
|
27
|
public void setScore(final double score) {
|
28
|
this.score = score;
|
29
|
}
|
30
|
|
31
|
}
|