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
|
private int projects = 0;
|
13
|
|
14
|
public StatsByAccessMode() {}
|
15
|
|
16
|
public StatsByAccessMode(int total, int open_access, int embargo, int restricted, int closed_access) {
|
17
|
this.total = total;
|
18
|
this.open_access = open_access;
|
19
|
this.embargo = embargo;
|
20
|
this.restricted = restricted;
|
21
|
this.closed_access = closed_access;
|
22
|
}
|
23
|
|
24
|
public int getTotal() {
|
25
|
return total;
|
26
|
}
|
27
|
|
28
|
public void setTotal(int total) {
|
29
|
this.total = total;
|
30
|
}
|
31
|
|
32
|
public int getOpen_access() {
|
33
|
return open_access;
|
34
|
}
|
35
|
|
36
|
public void setOpen_access(int open_access) {
|
37
|
this.open_access = open_access;
|
38
|
}
|
39
|
|
40
|
public int getEmbargo() {
|
41
|
return embargo;
|
42
|
}
|
43
|
|
44
|
public void setEmbargo(int embargo) {
|
45
|
this.embargo = embargo;
|
46
|
}
|
47
|
|
48
|
public int getRestricted() {
|
49
|
return restricted;
|
50
|
}
|
51
|
|
52
|
public void setRestricted(int restricted) {
|
53
|
this.restricted = restricted;
|
54
|
}
|
55
|
|
56
|
public int getClosed_access() {
|
57
|
return closed_access;
|
58
|
}
|
59
|
|
60
|
public void setClosed_access(int closed_access) {
|
61
|
this.closed_access = closed_access;
|
62
|
}
|
63
|
|
64
|
public int getProjects() {
|
65
|
return projects;
|
66
|
}
|
67
|
|
68
|
public void setProjects(int projects) {
|
69
|
this.projects = projects;
|
70
|
}
|
71
|
}
|