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() {
17
    }
18

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

    
28
    public int getPublications() {
29
        return publications;
30
    }
31

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

    
36
    public int getEmbargo() {
37
        return embargo;
38
    }
39

    
40
    public int getRestricted() {
41
        return restricted;
42
    }
43

    
44
    public int getTotal_projects() {
45
        return total_projects;
46
    }
47

    
48
    public int getProjects_with_publications() {
49
        return projects_with_publications;
50
    }
51
}
(2-2/4)