Project

General

Profile

1
package eu.dnetlib.statsapi.domain;
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

    
17
    public StatsByAccessMode(int total, int open_access, int embargo, int restricted, int closed_access) {
18
        this.total = total;
19
        this.open_access = open_access;
20
        this.embargo = embargo;
21
        this.restricted = restricted;
22
        this.closed_access = closed_access;
23
    }
24

    
25
    public int getTotal() {
26
        return total;
27
    }
28

    
29
    public void setTotal(int total) {
30
        this.total = total;
31
    }
32

    
33
    public int getOpen_access() {
34
        return open_access;
35
    }
36

    
37
    public void setOpen_access(int open_access) {
38
        this.open_access = open_access;
39
    }
40

    
41
    public int getEmbargo() {
42
        return embargo;
43
    }
44

    
45
    public void setEmbargo(int embargo) {
46
        this.embargo = embargo;
47
    }
48

    
49
    public int getRestricted() {
50
        return restricted;
51
    }
52

    
53
    public void setRestricted(int restricted) {
54
        this.restricted = restricted;
55
    }
56

    
57
    public int getClosed_access() {
58
        return closed_access;
59
    }
60

    
61
    public void setClosed_access(int closed_access) {
62
        this.closed_access = closed_access;
63
    }
64

    
65
    public int getProjects() {
66
        return projects;
67
    }
68

    
69
    public void setProjects(int projects) {
70
        this.projects = projects;
71
    }
72
}
(4-4/4)