Project

General

Profile

1
package eu.dnetlib.statsapi.entity;
2

    
3
import java.io.Serializable;
4

    
5
public class Funder 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 projects_with_publications = 0;
15

    
16
    public Funder(int pubs, int oa, int emb, int res, int proj, int proj_pubs){
17
        this.publications = pubs;
18
        this.open_access = oa;
19
        this.embargo = emb;
20
        this.restricted = res;
21
        this.total_projects = proj;
22
        this.projects_with_publications = proj_pubs;
23
    }
24

    
25
    public int getPublications() {
26
        return publications;
27
    }
28

    
29
    public int getOpen_access() {
30
        return open_access;
31
    }
32

    
33
    public int getEmbargo() {
34
        return embargo;
35
    }
36

    
37
    public int getRestricted() {
38
        return restricted;
39
    }
40

    
41
    public int getTotal_projects() {
42
        return total_projects;
43
    }
44

    
45
    public int getProjects_with_publications() {
46
        return projects_with_publications;
47
    }
48
}
(2-2/3)