Project

General

Profile

1 49474 panagiotis
package eu.dnetlib.repo.manager.service.shared;
2 40801 nikon.gasp
3
import com.google.gwt.user.client.rpc.IsSerializable;
4
import eu.dnetlib.domain.data.Repository;
5
6
import java.util.ArrayList;
7
import java.util.List;
8
9
/**
10
 * Created by nikonas on 14/1/16.
11
 */
12
public class DatasourcesCollection implements IsSerializable{
13
14
    private List<Repository> datasourcesOfUser;
15
    private List<Repository> sharedDatasources;
16
    private List<Repository> datasourcesOfOthers;
17
18
    public DatasourcesCollection() {
19
        this.datasourcesOfOthers = new ArrayList<Repository>();
20
        this.datasourcesOfUser = new ArrayList<Repository>();
21
        this.datasourcesOfOthers = new ArrayList<Repository>();
22
    }
23
24
    public List<Repository> getDatasourcesOfUser() {
25
        return datasourcesOfUser;
26
    }
27
28
    public void setDatasourcesOfUser(List<Repository> datasourcesOfUser) {
29
        this.datasourcesOfUser = datasourcesOfUser;
30
    }
31
32
    public List<Repository> getDatasourcesOfOthers() {
33
        return datasourcesOfOthers;
34
    }
35
36
    public void setDatasourcesOfOthers(List<Repository> datasourcesOfOthers) {
37
        this.datasourcesOfOthers = datasourcesOfOthers;
38
    }
39
40
    public List<Repository> getSharedDatasources() {
41
        return sharedDatasources;
42
    }
43
44
    public void setSharedDatasources(List<Repository> sharedDatasources) {
45
        this.sharedDatasources = sharedDatasources;
46
    }
47
}