Project

General

Profile

1
package eu.dnetlib.statsapi.domain;
2

    
3
import java.io.Serializable;
4

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

    
8
    private StatsByAccessMode publication;
9
    private StatsByAccessMode dataset;
10
    private StatsByAccessMode software;
11
    private StatsByAccessMode other;
12

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

    
16
    public Community() {
17
    }
18

    
19
    public Community(StatsByAccessMode publication, StatsByAccessMode datasets, StatsByAccessMode software, StatsByAccessMode others, int total_projects, int virtual_organizations) {
20
        this.publication = publication;
21
        this.dataset = datasets;
22
        this.software = software;
23
        this.other = others;
24
        this.total_projects = total_projects;
25
        this.virtual_organizations = virtual_organizations;
26
    }
27

    
28
    public StatsByAccessMode getPublication() {
29
        return publication;
30
    }
31

    
32
    public void setPublication(StatsByAccessMode publication) {
33
        this.publication = publication;
34
    }
35

    
36
    public StatsByAccessMode getDataset() {
37
        return dataset;
38
    }
39

    
40
    public void setDataset(StatsByAccessMode dataset) {
41
        this.dataset = dataset;
42
    }
43

    
44
    public StatsByAccessMode getSoftware() {
45
        return software;
46
    }
47

    
48
    public void setSoftware(StatsByAccessMode software) {
49
        this.software = software;
50
    }
51

    
52
    public StatsByAccessMode getOther() {
53
        return other;
54
    }
55

    
56
    public void setOther(StatsByAccessMode other) {
57
        this.other = other;
58
    }
59

    
60
    public int getTotal_projects() {
61
        return total_projects;
62
    }
63

    
64
    public void setTotal_projects(int total_projects) {
65
        this.total_projects = total_projects;
66
    }
67

    
68
    public int getVirtual_organizations() {
69
        return virtual_organizations;
70
    }
71

    
72
    public void setVirtual_organizations(int virtual_organizations) {
73
        this.virtual_organizations = virtual_organizations;
74
    }
75
}
(1-1/4)