1 |
57155
|
ioannis.di
|
package eu.dnetlib.repo.manager.domain;
|
2 |
|
|
|
3 |
57741
|
ioannis.di
|
import eu.dnetlib.repo.manager.domain.broker.BrowseEntry;
|
4 |
|
|
import eu.dnetlib.repo.manager.domain.broker.SimpleSubscriptionDesc;
|
5 |
57155
|
ioannis.di
|
|
6 |
|
|
import java.util.List;
|
7 |
|
|
import java.util.Map;
|
8 |
|
|
|
9 |
|
|
public class BrokerSummary {
|
10 |
|
|
private Map<String, List<SimpleSubscriptionDesc>> userSubs;
|
11 |
|
|
|
12 |
|
|
private List<BrowseEntry> topicsForDatasource;
|
13 |
|
|
|
14 |
|
|
public BrokerSummary(){}
|
15 |
|
|
|
16 |
|
|
public BrokerSummary(Map<String, List<SimpleSubscriptionDesc>> userSubs, List<BrowseEntry> topicsForDatasource) {
|
17 |
|
|
this.userSubs = userSubs;
|
18 |
|
|
this.topicsForDatasource = topicsForDatasource;
|
19 |
|
|
}
|
20 |
|
|
|
21 |
|
|
public Map<String, List<SimpleSubscriptionDesc>> getUserSubs() {
|
22 |
|
|
return userSubs;
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
public void setUserSubs(Map<String, List<SimpleSubscriptionDesc>> userSubs) {
|
26 |
|
|
this.userSubs = userSubs;
|
27 |
|
|
}
|
28 |
|
|
|
29 |
|
|
public List<BrowseEntry> getTopicsForDatasource() {
|
30 |
|
|
return topicsForDatasource;
|
31 |
|
|
}
|
32 |
|
|
|
33 |
|
|
public void setTopicsForDatasource(List<BrowseEntry> topicsForDatasource) {
|
34 |
|
|
this.topicsForDatasource = topicsForDatasource;
|
35 |
|
|
}
|
36 |
|
|
}
|