Project

General

Profile

1
package eu.dnetlib.statsapi.entity;
2

    
3
import java.io.Serializable;
4

    
5
public class Community implements Serializable{
6
    private final static long serialVersionUID = 1;
7

    
8
    private int publications = 0;
9
    private int open_access = 0;
10
    private int embargo = 0;
11
    private int restricted = 0;
12

    
13
    private int total_projects = 0;
14
    private int virtual_organizations = 0;
15

    
16
    private int datasets = 0;
17
    private int software = 0;
18

    
19
    public Community(int pubs, int oa, int emb, int res, int proj, int vo, int datasets, int software) {
20
        this.publications = pubs;
21
        this.open_access = oa;
22
        this.embargo = emb;
23
        this.restricted = res;
24
        this.total_projects = proj;
25
        this.virtual_organizations = vo;
26
        this.datasets = datasets;
27
        this.software = software;
28

    
29
    }
30

    
31
    public int getPublications() {
32
        return publications;
33
    }
34

    
35
    public int getOpen_access() {
36
        return open_access;
37
    }
38

    
39
    public int getEmbargo() {
40
        return embargo;
41
    }
42

    
43
    public int getRestricted() {
44
        return restricted;
45
    }
46

    
47
    public int getTotal_projects() {
48
        return total_projects;
49
    }
50

    
51
    public int getVirtual_organizations() {
52
        return virtual_organizations;
53
    }
54

    
55
    public int getDatasets() {
56
        return datasets;
57
    }
58

    
59
    public int getSoftware() {
60
        return software;
61
    }
62
}
(1-1/3)