1
|
package eu.dnetlib.repo.manager.shared.broker;
|
2
|
|
3
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4
|
import eu.dnetlib.repo.manager.shared.Tuple;
|
5
|
|
6
|
import java.util.List;
|
7
|
|
8
|
/**
|
9
|
* Created by stefanos on 31/10/2016.
|
10
|
*/
|
11
|
public class DatasourcesBroker implements IsSerializable {
|
12
|
|
13
|
private List<Tuple<BrowseEntry, String>> datasourcesOfUser;
|
14
|
private List<Tuple<BrowseEntry, String>> sharedDatasources;
|
15
|
private List<Tuple<BrowseEntry, String>> datasourcesOfOthers;
|
16
|
|
17
|
public List<Tuple<BrowseEntry, String>> getDatasourcesOfUser() {
|
18
|
return datasourcesOfUser;
|
19
|
}
|
20
|
|
21
|
public void setDatasourcesOfUser(List<Tuple<BrowseEntry, String>> datasourcesOfUser) {
|
22
|
this.datasourcesOfUser = datasourcesOfUser;
|
23
|
}
|
24
|
|
25
|
public List<Tuple<BrowseEntry, String>> getSharedDatasources() {
|
26
|
return sharedDatasources;
|
27
|
}
|
28
|
|
29
|
public void setSharedDatasources(List<Tuple<BrowseEntry, String>> sharedDatasources) {
|
30
|
this.sharedDatasources = sharedDatasources;
|
31
|
}
|
32
|
|
33
|
public List<Tuple<BrowseEntry, String>> getDatasourcesOfOthers() {
|
34
|
return datasourcesOfOthers;
|
35
|
}
|
36
|
|
37
|
public void setDatasourcesOfOthers(List<Tuple<BrowseEntry, String>> datasourcesOfOthers) {
|
38
|
this.datasourcesOfOthers = datasourcesOfOthers;
|
39
|
}
|
40
|
}
|