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