1
|
package eu.dnetlib.statsapi.entity;
|
2
|
|
3
|
import java.io.Serializable;
|
4
|
|
5
|
public class StatsByAccessMode implements Serializable{
|
6
|
private final static long serialVersionUID = 1;
|
7
|
private int total = 0;
|
8
|
private int open_access = 0;
|
9
|
private int embargo = 0;
|
10
|
private int restricted = 0;
|
11
|
private int closed_access = 0;
|
12
|
|
13
|
public StatsByAccessMode() {}
|
14
|
|
15
|
public StatsByAccessMode(int total, int open_access, int embargo, int restricted, int closed_access) {
|
16
|
this.total = total;
|
17
|
this.open_access = open_access;
|
18
|
this.embargo = embargo;
|
19
|
this.restricted = restricted;
|
20
|
this.closed_access = closed_access;
|
21
|
}
|
22
|
|
23
|
public int getTotal() {
|
24
|
return total;
|
25
|
}
|
26
|
|
27
|
public void setTotal(int total) {
|
28
|
this.total = total;
|
29
|
}
|
30
|
|
31
|
public int getOpen_access() {
|
32
|
return open_access;
|
33
|
}
|
34
|
|
35
|
public void setOpen_access(int open_access) {
|
36
|
this.open_access = open_access;
|
37
|
}
|
38
|
|
39
|
public int getEmbargo() {
|
40
|
return embargo;
|
41
|
}
|
42
|
|
43
|
public void setEmbargo(int embargo) {
|
44
|
this.embargo = embargo;
|
45
|
}
|
46
|
|
47
|
public int getRestricted() {
|
48
|
return restricted;
|
49
|
}
|
50
|
|
51
|
public void setRestricted(int restricted) {
|
52
|
this.restricted = restricted;
|
53
|
}
|
54
|
|
55
|
public int getClosed_access() {
|
56
|
return closed_access;
|
57
|
}
|
58
|
|
59
|
public void setClosed_access(int closed_access) {
|
60
|
this.closed_access = closed_access;
|
61
|
}
|
62
|
}
|