Revision 57741
Added by Ioannis Diplas over 4 years ago
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/AggregationDetails.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
import java.util.Calendar; |
|
6 |
import java.util.Date; |
|
7 |
|
|
8 |
public class AggregationDetails implements IsSerializable{ |
|
9 |
|
|
10 |
|
|
11 |
private String aggregationStage; |
|
12 |
private Date date; |
|
13 |
private int numberOfRecords; |
|
14 |
private String collectionMode; |
|
15 |
private Boolean indexedVersion; |
|
16 |
|
|
17 |
public AggregationDetails() { |
|
18 |
} |
|
19 |
|
|
20 |
public String getAggregationStage() { |
|
21 |
return aggregationStage; |
|
22 |
} |
|
23 |
|
|
24 |
public String getCollectionMode() { |
|
25 |
return collectionMode; |
|
26 |
} |
|
27 |
|
|
28 |
public void setCollectionMode(String collectionMode) { |
|
29 |
this.collectionMode = collectionMode; |
|
30 |
} |
|
31 |
|
|
32 |
public void setAggregationStage(String aggregationStage) { |
|
33 |
this.aggregationStage = aggregationStage; |
|
34 |
} |
|
35 |
|
|
36 |
public Date getDate() { |
|
37 |
return date; |
|
38 |
} |
|
39 |
|
|
40 |
public void setDate(Date date) { |
|
41 |
this.date = date; |
|
42 |
} |
|
43 |
|
|
44 |
public int getNumberOfRecords() { |
|
45 |
return numberOfRecords; |
|
46 |
} |
|
47 |
|
|
48 |
public void setNumberOfRecords(int numberOfRecords) { |
|
49 |
this.numberOfRecords = numberOfRecords; |
|
50 |
} |
|
51 |
|
|
52 |
public String getYear() { |
|
53 |
Calendar calendar = Calendar.getInstance(); |
|
54 |
calendar.setTime(getDate()); |
|
55 |
return String.valueOf(calendar.get(Calendar.YEAR)); |
|
56 |
} |
|
57 |
|
|
58 |
public Boolean getIndexedVersion() { |
|
59 |
return indexedVersion; |
|
60 |
} |
|
61 |
|
|
62 |
public void setIndexedVersion(Boolean indexedVersion) { |
|
63 |
this.indexedVersion = indexedVersion; |
|
64 |
} |
|
65 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/Triple.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefania on 3/8/16. |
|
7 |
*/ |
|
8 |
public class Triple<K, V, L> extends Tuple<K, V> implements IsSerializable { |
|
9 |
|
|
10 |
private L third; |
|
11 |
|
|
12 |
public Triple() { |
|
13 |
} |
|
14 |
|
|
15 |
public Triple(K first, V second, L third) { |
|
16 |
super(first, second); |
|
17 |
this.third = third; |
|
18 |
} |
|
19 |
|
|
20 |
public L getThird() { |
|
21 |
return third; |
|
22 |
} |
|
23 |
|
|
24 |
public void setThird(L third) { |
|
25 |
this.third = third; |
|
26 |
} |
|
27 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/WizardState.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefania on 2/10/16. |
|
7 |
*/ |
|
8 |
public class WizardState implements IsSerializable { |
|
9 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/MetricsNumbers.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared; |
|
2 |
|
|
3 |
import com.fasterxml.jackson.annotation.JsonProperty; |
|
4 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
5 |
|
|
6 |
import java.util.List; |
|
7 |
|
|
8 |
/** |
|
9 |
* Created by stefania on 11/7/17. |
|
10 |
*/ |
|
11 |
public class MetricsNumbers implements IsSerializable { |
|
12 |
|
|
13 |
private List<String> downloads; |
|
14 |
private List<String> views; |
|
15 |
|
|
16 |
@JsonProperty("total_downloads") |
|
17 |
private String totalDownloads; |
|
18 |
|
|
19 |
@JsonProperty("total_views") |
|
20 |
private String totalViews; |
|
21 |
|
|
22 |
@JsonProperty("total_openaire_downloads") |
|
23 |
private String totalOpenAIREDownloads; |
|
24 |
|
|
25 |
@JsonProperty("total_openaire_views") |
|
26 |
private String totalOpenAIREViews; |
|
27 |
|
|
28 |
@JsonProperty("pageviews") |
|
29 |
private String pageViews; |
|
30 |
|
|
31 |
public MetricsNumbers() { |
|
32 |
} |
|
33 |
|
|
34 |
public MetricsNumbers(List<String> downloads, List<String> views, String totalDownloads, String totalViews, |
|
35 |
String totalOpenAIREDownloads, String totalOpenAIREViews, String pageViews) { |
|
36 |
this.downloads = downloads; |
|
37 |
this.views = views; |
|
38 |
this.totalDownloads = totalDownloads; |
|
39 |
this.totalViews = totalViews; |
|
40 |
this.totalOpenAIREDownloads = totalOpenAIREDownloads; |
|
41 |
this.totalOpenAIREViews = totalOpenAIREViews; |
|
42 |
this.pageViews = pageViews; |
|
43 |
} |
|
44 |
|
|
45 |
public List<String> getDownloads() { |
|
46 |
return downloads; |
|
47 |
} |
|
48 |
|
|
49 |
public void setDownloads(List<String> downloads) { |
|
50 |
this.downloads = downloads; |
|
51 |
} |
|
52 |
|
|
53 |
public List<String> getViews() { |
|
54 |
return views; |
|
55 |
} |
|
56 |
|
|
57 |
public void setViews(List<String> views) { |
|
58 |
this.views = views; |
|
59 |
} |
|
60 |
|
|
61 |
public String getTotalDownloads() { |
|
62 |
return totalDownloads; |
|
63 |
} |
|
64 |
|
|
65 |
public void setTotalDownloads(String totalDownloads) { |
|
66 |
this.totalDownloads = totalDownloads; |
|
67 |
} |
|
68 |
|
|
69 |
public String getTotalViews() { |
|
70 |
return totalViews; |
|
71 |
} |
|
72 |
|
|
73 |
public void setTotalViews(String totalViews) { |
|
74 |
this.totalViews = totalViews; |
|
75 |
} |
|
76 |
|
|
77 |
public String getTotalOpenAIREDownloads() { |
|
78 |
return totalOpenAIREDownloads; |
|
79 |
} |
|
80 |
|
|
81 |
public void setTotalOpenAIREDownloads(String totalOpenAIREDownloads) { |
|
82 |
this.totalOpenAIREDownloads = totalOpenAIREDownloads; |
|
83 |
} |
|
84 |
|
|
85 |
public String getTotalOpenAIREViews() { |
|
86 |
return totalOpenAIREViews; |
|
87 |
} |
|
88 |
|
|
89 |
public void setTotalOpenAIREViews(String totalOpenAIREViews) { |
|
90 |
this.totalOpenAIREViews = totalOpenAIREViews; |
|
91 |
} |
|
92 |
|
|
93 |
public String getPageViews() { |
|
94 |
return pageViews; |
|
95 |
} |
|
96 |
|
|
97 |
public void setPageViews(String pageViews) { |
|
98 |
this.pageViews = pageViews; |
|
99 |
} |
|
100 |
} |
|
101 |
|
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/Country.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared; |
|
2 |
|
|
3 |
public class Country { |
|
4 |
|
|
5 |
private String name; |
|
6 |
private String code; |
|
7 |
|
|
8 |
|
|
9 |
public String getName() { |
|
10 |
return name; |
|
11 |
} |
|
12 |
|
|
13 |
public void setName(String name) { |
|
14 |
this.name = name; |
|
15 |
} |
|
16 |
|
|
17 |
public String getCode() { |
|
18 |
return code; |
|
19 |
} |
|
20 |
|
|
21 |
public void setCode(String code) { |
|
22 |
this.code = code; |
|
23 |
} |
|
24 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/BrokerException.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared; |
|
2 |
|
|
3 |
|
|
4 |
/** |
|
5 |
* Created by stefanos on 27-Oct-16. |
|
6 |
*/ |
|
7 |
public class BrokerException extends Exception { |
|
8 |
|
|
9 |
public BrokerException(Throwable th) { |
|
10 |
super(th); |
|
11 |
} |
|
12 |
|
|
13 |
public BrokerException() { |
|
14 |
} |
|
15 |
|
|
16 |
|
|
17 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Instance.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by claudio on 22/07/16. |
|
7 |
*/ |
|
8 |
public class Instance implements IsSerializable { |
|
9 |
|
|
10 |
private String url; |
|
11 |
|
|
12 |
private String license; |
|
13 |
|
|
14 |
private String hostedby; |
|
15 |
|
|
16 |
private String instancetype; |
|
17 |
|
|
18 |
public Instance() { |
|
19 |
} |
|
20 |
|
|
21 |
public String getUrl() { |
|
22 |
return url; |
|
23 |
} |
|
24 |
|
|
25 |
public void setUrl(String url) { |
|
26 |
this.url = url; |
|
27 |
} |
|
28 |
|
|
29 |
public String getLicense() { |
|
30 |
return license; |
|
31 |
} |
|
32 |
|
|
33 |
public void setLicense(String license) { |
|
34 |
this.license = license; |
|
35 |
} |
|
36 |
|
|
37 |
public String getHostedby() { |
|
38 |
return hostedby; |
|
39 |
} |
|
40 |
|
|
41 |
public void setHostedby(String hostedby) { |
|
42 |
this.hostedby = hostedby; |
|
43 |
} |
|
44 |
|
|
45 |
public String getInstancetype() { |
|
46 |
return instancetype; |
|
47 |
} |
|
48 |
|
|
49 |
public void setInstancetype(String instancetype) { |
|
50 |
this.instancetype = instancetype; |
|
51 |
} |
|
52 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Project.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
public class Project implements IsSerializable { |
|
6 |
|
|
7 |
private String code; |
|
8 |
private String acronym; |
|
9 |
private String title; |
|
10 |
private String funder; |
|
11 |
private String fundingProgram; |
|
12 |
private String jurisdiction; |
|
13 |
|
|
14 |
public Project() { |
|
15 |
} |
|
16 |
|
|
17 |
public Project(final String code, final String acronym, final String title, final String funder, final String fundingProgram, final String jurisdiction) { |
|
18 |
this.code = code; |
|
19 |
this.acronym = acronym; |
|
20 |
this.title = title; |
|
21 |
this.funder = funder; |
|
22 |
this.fundingProgram = fundingProgram; |
|
23 |
this.jurisdiction = jurisdiction; |
|
24 |
} |
|
25 |
|
|
26 |
public String getCode() { |
|
27 |
return code; |
|
28 |
} |
|
29 |
|
|
30 |
public void setCode(String code) { |
|
31 |
this.code = code; |
|
32 |
} |
|
33 |
|
|
34 |
public String getAcronym() { |
|
35 |
return acronym; |
|
36 |
} |
|
37 |
|
|
38 |
public void setAcronym(String acronym) { |
|
39 |
this.acronym = acronym; |
|
40 |
} |
|
41 |
|
|
42 |
public String getTitle() { |
|
43 |
return title; |
|
44 |
} |
|
45 |
|
|
46 |
public void setTitle(String title) { |
|
47 |
this.title = title; |
|
48 |
} |
|
49 |
|
|
50 |
public String getFunder() { |
|
51 |
return funder; |
|
52 |
} |
|
53 |
|
|
54 |
public void setFunder(String funder) { |
|
55 |
this.funder = funder; |
|
56 |
} |
|
57 |
|
|
58 |
public String getFundingProgram() { |
|
59 |
return fundingProgram; |
|
60 |
} |
|
61 |
|
|
62 |
public void setFundingProgram(String fundingProgram) { |
|
63 |
this.fundingProgram = fundingProgram; |
|
64 |
} |
|
65 |
|
|
66 |
public String getJurisdiction() { |
|
67 |
return jurisdiction; |
|
68 |
} |
|
69 |
|
|
70 |
public void setJurisdiction(String jurisdiction) { |
|
71 |
this.jurisdiction = jurisdiction; |
|
72 |
} |
|
73 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/MapConditions.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
import java.util.ArrayList; |
|
6 |
import java.util.List; |
|
7 |
|
|
8 |
/** |
|
9 |
* Created by stefanos on 17/3/2017. |
|
10 |
*/ |
|
11 |
public class MapConditions implements IsSerializable { |
|
12 |
|
|
13 |
private String field; |
|
14 |
private MapValueType fieldType; |
|
15 |
private ConditionOperator operator; |
|
16 |
private List<ConditionParams> listParams = new ArrayList<>(); |
|
17 |
|
|
18 |
public MapConditions() { |
|
19 |
} |
|
20 |
|
|
21 |
public String getField() { |
|
22 |
return field; |
|
23 |
} |
|
24 |
|
|
25 |
public void setField(String field) { |
|
26 |
this.field = field; |
|
27 |
} |
|
28 |
|
|
29 |
public MapValueType getFieldType() { |
|
30 |
return fieldType; |
|
31 |
} |
|
32 |
|
|
33 |
public void setFieldType(MapValueType fieldType) { |
|
34 |
this.fieldType = fieldType; |
|
35 |
} |
|
36 |
|
|
37 |
public ConditionOperator getOperator() { |
|
38 |
return operator; |
|
39 |
} |
|
40 |
|
|
41 |
public void setOperator(ConditionOperator operator) { |
|
42 |
this.operator = operator; |
|
43 |
} |
|
44 |
|
|
45 |
public List<ConditionParams> getListParams() { |
|
46 |
return listParams; |
|
47 |
} |
|
48 |
|
|
49 |
public void setListParams(List<ConditionParams> listParams) { |
|
50 |
this.listParams = listParams; |
|
51 |
} |
|
52 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/OpenaireSubscription.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 10-Mar-17. |
|
7 |
*/ |
|
8 |
|
|
9 |
public class OpenaireSubscription implements IsSerializable { |
|
10 |
|
|
11 |
private String subscriber; |
|
12 |
private NotificationFrequency frequency; |
|
13 |
private NotificationMode mode; |
|
14 |
private AdvQueryObject query; |
|
15 |
|
|
16 |
public OpenaireSubscription() { |
|
17 |
} |
|
18 |
|
|
19 |
public OpenaireSubscription(final String subscriber, final NotificationFrequency frequency, final |
|
20 |
NotificationMode mode, |
|
21 |
final AdvQueryObject query) { |
|
22 |
this.subscriber = subscriber; |
|
23 |
this.frequency = frequency; |
|
24 |
this.mode = mode; |
|
25 |
this.query = query; |
|
26 |
} |
|
27 |
|
|
28 |
public String getSubscriber() { |
|
29 |
return this.subscriber; |
|
30 |
} |
|
31 |
|
|
32 |
public void setSubscriber(final String subscriber) { |
|
33 |
this.subscriber = subscriber; |
|
34 |
} |
|
35 |
|
|
36 |
public NotificationFrequency getFrequency() { |
|
37 |
return this.frequency; |
|
38 |
} |
|
39 |
|
|
40 |
public void setFrequency(final NotificationFrequency frequency) { |
|
41 |
this.frequency = frequency; |
|
42 |
} |
|
43 |
|
|
44 |
public NotificationMode getMode() { |
|
45 |
return this.mode; |
|
46 |
} |
|
47 |
|
|
48 |
public void setMode(final NotificationMode mode) { |
|
49 |
this.mode = mode; |
|
50 |
} |
|
51 |
|
|
52 |
public AdvQueryObject getQuery() { |
|
53 |
return this.query; |
|
54 |
} |
|
55 |
|
|
56 |
public void setQuery(final AdvQueryObject query) { |
|
57 |
this.query = query; |
|
58 |
} |
|
59 |
|
|
60 |
|
|
61 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/NotificationFrequency.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 10-Mar-17. |
|
7 |
*/ |
|
8 |
public enum NotificationFrequency implements IsSerializable { |
|
9 |
never, realtime, daily, weekly, monthly |
|
10 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Publication.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
import java.util.ArrayList; |
|
6 |
import java.util.List; |
|
7 |
|
|
8 |
/** |
|
9 |
* Created by claudio on 22/07/16. |
|
10 |
*/ |
|
11 |
public class Publication implements IsSerializable { |
|
12 |
|
|
13 |
private String originalId; |
|
14 |
|
|
15 |
private List<String> titles = new ArrayList<>(); |
|
16 |
|
|
17 |
private List<String> abstracts = new ArrayList<>(); |
|
18 |
|
|
19 |
private String language; |
|
20 |
|
|
21 |
private List<String> subjects = new ArrayList<>(); |
|
22 |
|
|
23 |
private List<String> creators = new ArrayList<>(); |
|
24 |
|
|
25 |
private String publicationdate; |
|
26 |
|
|
27 |
private String publisher; |
|
28 |
|
|
29 |
private String embargoenddate; |
|
30 |
|
|
31 |
private List<String> contributor = new ArrayList<>(); |
|
32 |
|
|
33 |
private Journal journal; |
|
34 |
|
|
35 |
private List<String> collectedFrom = new ArrayList<>(); |
|
36 |
|
|
37 |
private List<Pid> pids = new ArrayList<>(); |
|
38 |
|
|
39 |
private List<Instance> instances = new ArrayList<>(); |
|
40 |
|
|
41 |
private List<ExternalReference> externalReferences = new ArrayList<>(); |
|
42 |
|
|
43 |
private List<Project> projects = new ArrayList<>(); |
|
44 |
|
|
45 |
private List<Publication> publications = new ArrayList<>(); |
|
46 |
|
|
47 |
private List<Dataset> datasets = new ArrayList<>(); |
|
48 |
|
|
49 |
public Publication() { |
|
50 |
} |
|
51 |
|
|
52 |
public String getOriginalId() { |
|
53 |
return originalId; |
|
54 |
} |
|
55 |
|
|
56 |
public void setOriginalId(String originalId) { |
|
57 |
this.originalId = originalId; |
|
58 |
} |
|
59 |
|
|
60 |
public List<String> getTitles() { |
|
61 |
return titles; |
|
62 |
} |
|
63 |
|
|
64 |
public void setTitles(List<String> titles) { |
|
65 |
this.titles = titles; |
|
66 |
} |
|
67 |
|
|
68 |
public List<String> getAbstracts() { |
|
69 |
return abstracts; |
|
70 |
} |
|
71 |
|
|
72 |
public void setAbstracts(List<String> abstracts) { |
|
73 |
this.abstracts = abstracts; |
|
74 |
} |
|
75 |
|
|
76 |
public String getLanguage() { |
|
77 |
return language; |
|
78 |
} |
|
79 |
|
|
80 |
public void setLanguage(String language) { |
|
81 |
this.language = language; |
|
82 |
} |
|
83 |
|
|
84 |
public List<String> getSubjects() { |
|
85 |
return subjects; |
|
86 |
} |
|
87 |
|
|
88 |
public void setSubjects(List<String> subjects) { |
|
89 |
this.subjects = subjects; |
|
90 |
} |
|
91 |
|
|
92 |
public List<String> getCreators() { |
|
93 |
return creators; |
|
94 |
} |
|
95 |
|
|
96 |
public void setCreators(List<String> creators) { |
|
97 |
this.creators = creators; |
|
98 |
} |
|
99 |
|
|
100 |
public String getPublicationdate() { |
|
101 |
return publicationdate; |
|
102 |
} |
|
103 |
|
|
104 |
public void setPublicationdate(String publicationdate) { |
|
105 |
this.publicationdate = publicationdate; |
|
106 |
} |
|
107 |
|
|
108 |
public String getPublisher() { |
|
109 |
return publisher; |
|
110 |
} |
|
111 |
|
|
112 |
public void setPublisher(String publisher) { |
|
113 |
this.publisher = publisher; |
|
114 |
} |
|
115 |
|
|
116 |
public String getEmbargoenddate() { |
|
117 |
return embargoenddate; |
|
118 |
} |
|
119 |
|
|
120 |
public void setEmbargoenddate(String embargoenddate) { |
|
121 |
this.embargoenddate = embargoenddate; |
|
122 |
} |
|
123 |
|
|
124 |
public List<String> getContributor() { |
|
125 |
return contributor; |
|
126 |
} |
|
127 |
|
|
128 |
public void setContributor(List<String> contributor) { |
|
129 |
this.contributor = contributor; |
|
130 |
} |
|
131 |
|
|
132 |
public Journal getJournal() { |
|
133 |
return journal; |
|
134 |
} |
|
135 |
|
|
136 |
public void setJournal(Journal journal) { |
|
137 |
this.journal = journal; |
|
138 |
} |
|
139 |
|
|
140 |
public List<String> getCollectedFrom() { |
|
141 |
return collectedFrom; |
|
142 |
} |
|
143 |
|
|
144 |
public void setCollectedFrom(List<String> collectedFrom) { |
|
145 |
this.collectedFrom = collectedFrom; |
|
146 |
} |
|
147 |
|
|
148 |
public List<Pid> getPids() { |
|
149 |
return pids; |
|
150 |
} |
|
151 |
|
|
152 |
public void setPids(List<Pid> pids) { |
|
153 |
this.pids = pids; |
|
154 |
} |
|
155 |
|
|
156 |
public List<Instance> getInstances() { |
|
157 |
return instances; |
|
158 |
} |
|
159 |
|
|
160 |
public void setInstances(List<Instance> instances) { |
|
161 |
this.instances = instances; |
|
162 |
} |
|
163 |
|
|
164 |
public List<ExternalReference> getExternalReferences() { |
|
165 |
return externalReferences; |
|
166 |
} |
|
167 |
|
|
168 |
public void setExternalReferences(List<ExternalReference> externalReferences) { |
|
169 |
this.externalReferences = externalReferences; |
|
170 |
} |
|
171 |
|
|
172 |
public List<Project> getProjects() { |
|
173 |
return projects; |
|
174 |
} |
|
175 |
|
|
176 |
public void setProjects(List<Project> projects) { |
|
177 |
this.projects = projects; |
|
178 |
} |
|
179 |
|
|
180 |
public List<Dataset> getDatasets() { |
|
181 |
return datasets; |
|
182 |
} |
|
183 |
|
|
184 |
public void setDatasets(List<Dataset> datasets) { |
|
185 |
this.datasets = datasets; |
|
186 |
} |
|
187 |
|
|
188 |
public List<Publication> getPublications() { |
|
189 |
return publications; |
|
190 |
} |
|
191 |
|
|
192 |
public void setPublications(List<Publication> publications) { |
|
193 |
this.publications = publications; |
|
194 |
} |
|
195 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Journal.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by claudio on 22/07/16. |
|
7 |
*/ |
|
8 |
public class Journal implements IsSerializable { |
|
9 |
|
|
10 |
private String name; |
|
11 |
|
|
12 |
private String issn; |
|
13 |
|
|
14 |
private String eissn; |
|
15 |
|
|
16 |
private String lissn; |
|
17 |
|
|
18 |
public Journal() { |
|
19 |
} |
|
20 |
|
|
21 |
public String getName() { |
|
22 |
return name; |
|
23 |
} |
|
24 |
|
|
25 |
public void setName(String name) { |
|
26 |
this.name = name; |
|
27 |
} |
|
28 |
|
|
29 |
public String getIssn() { |
|
30 |
return issn; |
|
31 |
} |
|
32 |
|
|
33 |
public void setIssn(String issn) { |
|
34 |
this.issn = issn; |
|
35 |
} |
|
36 |
|
|
37 |
public String getEissn() { |
|
38 |
return eissn; |
|
39 |
} |
|
40 |
|
|
41 |
public void setEissn(String eissn) { |
|
42 |
this.eissn = eissn; |
|
43 |
} |
|
44 |
|
|
45 |
public String getLissn() { |
|
46 |
return lissn; |
|
47 |
} |
|
48 |
|
|
49 |
public void setLissn(String lissn) { |
|
50 |
this.lissn = lissn; |
|
51 |
} |
|
52 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/MapValueType.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 17/3/2017. |
|
7 |
*/ |
|
8 |
public enum MapValueType implements IsSerializable { |
|
9 |
STRING, INTEGER, FLOAT, DATE, BOOLEAN, LIST_STRING, LIST_INTEGER, LIST_FLOAT, LIST_DATE, LIST_BOOLEAN; |
|
10 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Pid.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by claudio on 22/07/16. |
|
7 |
*/ |
|
8 |
public class Pid implements IsSerializable { |
|
9 |
|
|
10 |
private String value; |
|
11 |
|
|
12 |
private String type; |
|
13 |
|
|
14 |
public Pid() { |
|
15 |
} |
|
16 |
|
|
17 |
public String getValue() { |
|
18 |
return value; |
|
19 |
} |
|
20 |
|
|
21 |
public void setValue(String value) { |
|
22 |
this.value = value; |
|
23 |
} |
|
24 |
|
|
25 |
public String getType() { |
|
26 |
return type; |
|
27 |
} |
|
28 |
|
|
29 |
public void setType(String type) { |
|
30 |
this.type = type; |
|
31 |
} |
|
32 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/OpenAireEventPayload.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by claudio on 11/07/16. |
|
7 |
*/ |
|
8 |
public class OpenAireEventPayload implements IsSerializable { |
|
9 |
|
|
10 |
private Publication publication; |
|
11 |
|
|
12 |
private Publication highlight; |
|
13 |
|
|
14 |
private Provenance provenance; |
|
15 |
|
|
16 |
private float trust; |
|
17 |
|
|
18 |
public OpenAireEventPayload() { |
|
19 |
} |
|
20 |
|
|
21 |
public Publication getPublication() { |
|
22 |
return publication; |
|
23 |
} |
|
24 |
|
|
25 |
public void setPublication(Publication publication) { |
|
26 |
this.publication = publication; |
|
27 |
} |
|
28 |
|
|
29 |
public Publication getHighlight() { |
|
30 |
return highlight; |
|
31 |
} |
|
32 |
|
|
33 |
public void setHighlight(Publication highlight) { |
|
34 |
this.highlight = highlight; |
|
35 |
} |
|
36 |
|
|
37 |
public Provenance getProvenance() { |
|
38 |
return provenance; |
|
39 |
} |
|
40 |
|
|
41 |
public void setProvenance(Provenance provenance) { |
|
42 |
this.provenance = provenance; |
|
43 |
} |
|
44 |
|
|
45 |
public float getTrust() { |
|
46 |
return trust; |
|
47 |
} |
|
48 |
|
|
49 |
public void setTrust(float trust) { |
|
50 |
this.trust = trust; |
|
51 |
} |
|
52 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/DatasourcesBroker.java | ||
---|---|---|
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 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/BrowseEntry.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 26/10/2016. |
|
7 |
*/ |
|
8 |
public class BrowseEntry implements Comparable<BrowseEntry>, IsSerializable{ |
|
9 |
|
|
10 |
private String value; |
|
11 |
private Long size; |
|
12 |
|
|
13 |
public BrowseEntry() { |
|
14 |
} |
|
15 |
|
|
16 |
public BrowseEntry(final String value, final Long size) { |
|
17 |
this.value = value; |
|
18 |
this.size = size; |
|
19 |
} |
|
20 |
|
|
21 |
public String getValue() { |
|
22 |
return value; |
|
23 |
} |
|
24 |
|
|
25 |
public void setValue(String value) { |
|
26 |
this.value = value; |
|
27 |
} |
|
28 |
|
|
29 |
public Long getSize() { |
|
30 |
return size; |
|
31 |
} |
|
32 |
|
|
33 |
public void setSize(Long size) { |
|
34 |
this.size = size; |
|
35 |
} |
|
36 |
|
|
37 |
@Override |
|
38 |
public int compareTo(final BrowseEntry bv) { |
|
39 |
return Long.compare(getSize(), bv.getSize()); |
|
40 |
} |
|
41 |
|
|
42 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Subscription.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
/** |
|
4 |
* Created by stefanos on 10-Mar-17. |
|
5 |
*/ |
|
6 |
|
|
7 |
|
|
8 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
9 |
|
|
10 |
import java.util.Date; |
|
11 |
import java.util.List; |
|
12 |
|
|
13 |
|
|
14 |
public class Subscription implements IsSerializable { |
|
15 |
|
|
16 |
private String subscriptionId; |
|
17 |
|
|
18 |
private String subscriber; |
|
19 |
|
|
20 |
private String topic; |
|
21 |
|
|
22 |
private NotificationFrequency frequency; |
|
23 |
|
|
24 |
private NotificationMode mode; |
|
25 |
|
|
26 |
private Date lastNotificationDate; |
|
27 |
|
|
28 |
private Date creationDate; |
|
29 |
|
|
30 |
private String conditions; |
|
31 |
|
|
32 |
private List<MapConditions> conditionsAsList; |
|
33 |
|
|
34 |
public Subscription() { |
|
35 |
} |
|
36 |
|
|
37 |
public String getSubscriptionId() { |
|
38 |
return subscriptionId; |
|
39 |
} |
|
40 |
|
|
41 |
public void setSubscriptionId(String subscriptionId) { |
|
42 |
this.subscriptionId = subscriptionId; |
|
43 |
} |
|
44 |
|
|
45 |
public String getSubscriber() { |
|
46 |
return subscriber; |
|
47 |
} |
|
48 |
|
|
49 |
public void setSubscriber(String subscriber) { |
|
50 |
this.subscriber = subscriber; |
|
51 |
} |
|
52 |
|
|
53 |
public String getTopic() { |
|
54 |
return topic; |
|
55 |
} |
|
56 |
|
|
57 |
public void setTopic(String topic) { |
|
58 |
this.topic = topic; |
|
59 |
} |
|
60 |
|
|
61 |
public NotificationFrequency getFrequency() { |
|
62 |
return frequency; |
|
63 |
} |
|
64 |
|
|
65 |
public void setFrequency(NotificationFrequency frequency) { |
|
66 |
this.frequency = frequency; |
|
67 |
} |
|
68 |
|
|
69 |
public NotificationMode getMode() { |
|
70 |
return mode; |
|
71 |
} |
|
72 |
|
|
73 |
public void setMode(NotificationMode mode) { |
|
74 |
this.mode = mode; |
|
75 |
} |
|
76 |
|
|
77 |
public Date getLastNotificationDate() { |
|
78 |
return lastNotificationDate; |
|
79 |
} |
|
80 |
|
|
81 |
public void setLastNotificationDate(Date lastNotificationDate) { |
|
82 |
this.lastNotificationDate = lastNotificationDate; |
|
83 |
} |
|
84 |
|
|
85 |
public String getConditions() { |
|
86 |
return conditions; |
|
87 |
} |
|
88 |
|
|
89 |
public void setConditions(String conditions) { |
|
90 |
this.conditions = conditions; |
|
91 |
} |
|
92 |
|
|
93 |
public List<MapConditions> getConditionsAsList() { |
|
94 |
return conditionsAsList; |
|
95 |
} |
|
96 |
|
|
97 |
public void setConditionsAsList(List<MapConditions> conditionsAsList) { |
|
98 |
this.conditionsAsList = conditionsAsList; |
|
99 |
} |
|
100 |
|
|
101 |
public Date getCreationDate() { |
|
102 |
return creationDate; |
|
103 |
} |
|
104 |
|
|
105 |
public void setCreationDate(Date creationDate) { |
|
106 |
this.creationDate = creationDate; |
|
107 |
} |
|
108 |
|
|
109 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Dataset.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
import java.util.List; |
|
6 |
|
|
7 |
public class Dataset implements IsSerializable { |
|
8 |
|
|
9 |
private List<String> titles; |
|
10 |
|
|
11 |
private List<String> collectedFrom; |
|
12 |
|
|
13 |
private List<Pid> pids; |
|
14 |
|
|
15 |
private List<Instance> instances; |
|
16 |
|
|
17 |
public Dataset() { |
|
18 |
} |
|
19 |
|
|
20 |
public Dataset(final List<String> titles, final List<String> collectedFrom, final List<Pid> pids, final List<Instance> instances) { |
|
21 |
this.titles = titles; |
|
22 |
this.collectedFrom = collectedFrom; |
|
23 |
this.pids = pids; |
|
24 |
this.instances = instances; |
|
25 |
} |
|
26 |
|
|
27 |
public List<String> getTitles() { |
|
28 |
return titles; |
|
29 |
} |
|
30 |
|
|
31 |
public void setTitles(List<String> titles) { |
|
32 |
this.titles = titles; |
|
33 |
} |
|
34 |
|
|
35 |
public List<String> getCollectedFrom() { |
|
36 |
return collectedFrom; |
|
37 |
} |
|
38 |
|
|
39 |
public void setCollectedFrom(List<String> collectedFrom) { |
|
40 |
this.collectedFrom = collectedFrom; |
|
41 |
} |
|
42 |
|
|
43 |
public List<Pid> getPids() { |
|
44 |
return pids; |
|
45 |
} |
|
46 |
|
|
47 |
public void setPids(List<Pid> pids) { |
|
48 |
this.pids = pids; |
|
49 |
} |
|
50 |
|
|
51 |
public List<Instance> getInstances() { |
|
52 |
return instances; |
|
53 |
} |
|
54 |
|
|
55 |
public void setInstances(List<Instance> instances) { |
|
56 |
this.instances = instances; |
|
57 |
} |
|
58 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/AdvQueryObject.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
import java.util.ArrayList; |
|
6 |
import java.util.List; |
|
7 |
|
|
8 |
public class AdvQueryObject implements IsSerializable { |
|
9 |
|
|
10 |
private String datasource = ""; |
|
11 |
private String topic = ""; |
|
12 |
private List<String> titles = new ArrayList<>(); |
|
13 |
private List<String> subjects = new ArrayList<>(); |
|
14 |
private List<String> authors = new ArrayList<>(); |
|
15 |
private List<Range> dates = new ArrayList<>(); |
|
16 |
private Range trust = new Range("0", "1"); |
|
17 |
|
|
18 |
private long page = 0; |
|
19 |
|
|
20 |
public AdvQueryObject() { |
|
21 |
} |
|
22 |
|
|
23 |
public AdvQueryObject(String datasource, String topic, List<String> titles, List<String> subjects, List<String> authors, |
|
24 |
List<Range> dates, Range trust, long page) { |
|
25 |
this.datasource = datasource; |
|
26 |
this.topic = topic; |
|
27 |
this.titles = titles; |
|
28 |
this.subjects = subjects; |
|
29 |
this.authors = authors; |
|
30 |
this.dates = dates; |
|
31 |
this.trust = trust; |
|
32 |
this.page = page; |
|
33 |
} |
|
34 |
|
|
35 |
public String getDatasource() { |
|
36 |
return datasource; |
|
37 |
} |
|
38 |
|
|
39 |
public void setDatasource(String datasource) { |
|
40 |
this.datasource = datasource; |
|
41 |
} |
|
42 |
|
|
43 |
public String getTopic() { |
|
44 |
return topic; |
|
45 |
} |
|
46 |
|
|
47 |
public void setTopic(String topic) { |
|
48 |
this.topic = topic; |
|
49 |
} |
|
50 |
|
|
51 |
public List<String> getTitles() { |
|
52 |
return titles; |
|
53 |
} |
|
54 |
|
|
55 |
public void setTitles(List<String> titles) { |
|
56 |
this.titles = titles; |
|
57 |
} |
|
58 |
|
|
59 |
public List<String> getSubjects() { |
|
60 |
return subjects; |
|
61 |
} |
|
62 |
|
|
63 |
public void setSubjects(List<String> subjects) { |
|
64 |
this.subjects = subjects; |
|
65 |
} |
|
66 |
|
|
67 |
public List<String> getAuthors() { |
|
68 |
return authors; |
|
69 |
} |
|
70 |
|
|
71 |
public void setAuthors(List<String> authors) { |
|
72 |
this.authors = authors; |
|
73 |
} |
|
74 |
|
|
75 |
public List<Range> getDates() { |
|
76 |
return dates; |
|
77 |
} |
|
78 |
|
|
79 |
public void setDates(List<Range> dates) { |
|
80 |
this.dates = dates; |
|
81 |
} |
|
82 |
|
|
83 |
public Range getTrust() { |
|
84 |
return trust; |
|
85 |
} |
|
86 |
|
|
87 |
public void setTrust(Range trust) { |
|
88 |
this.trust = trust; |
|
89 |
} |
|
90 |
|
|
91 |
public long getPage() { |
|
92 |
return page; |
|
93 |
} |
|
94 |
|
|
95 |
public void setPage(long page) { |
|
96 |
this.page = page; |
|
97 |
} |
|
98 |
} |
|
99 |
|
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/ConditionParams.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 17/3/2017. |
|
7 |
*/ |
|
8 |
public class ConditionParams implements IsSerializable { |
|
9 |
|
|
10 |
private String value; |
|
11 |
private String otherValue; |
|
12 |
|
|
13 |
public ConditionParams() { |
|
14 |
} |
|
15 |
|
|
16 |
public ConditionParams(final String value, final String otherValue) { |
|
17 |
this.value = value; |
|
18 |
this.otherValue = otherValue; |
|
19 |
} |
|
20 |
|
|
21 |
public String getValue() { |
|
22 |
return this.value; |
|
23 |
} |
|
24 |
|
|
25 |
public void setValue(final String value) { |
|
26 |
this.value = value; |
|
27 |
} |
|
28 |
|
|
29 |
public String getOtherValue() { |
|
30 |
return this.otherValue; |
|
31 |
} |
|
32 |
|
|
33 |
public void setOtherValue(final String otherValue) { |
|
34 |
this.otherValue = otherValue; |
|
35 |
} |
|
36 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/NotificationMode.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 10-Mar-17. |
|
7 |
*/ |
|
8 |
public enum NotificationMode implements IsSerializable { |
|
9 |
MOCK, EMAIL |
|
10 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Range.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by stefanos on 26/10/2016. |
|
7 |
*/ |
|
8 |
public class Range implements IsSerializable { |
|
9 |
|
|
10 |
private String min; |
|
11 |
private String max; |
|
12 |
|
|
13 |
public Range() { |
|
14 |
} |
|
15 |
|
|
16 |
public Range(final String min, final String max) { |
|
17 |
super(); |
|
18 |
this.min = min; |
|
19 |
this.max = max; |
|
20 |
} |
|
21 |
|
|
22 |
public String getMin() { |
|
23 |
return this.min; |
|
24 |
} |
|
25 |
|
|
26 |
public void setMin(final String min) { |
|
27 |
this.min = min; |
|
28 |
} |
|
29 |
|
|
30 |
public String getMax() { |
|
31 |
return this.max; |
|
32 |
} |
|
33 |
|
|
34 |
public void setMax(final String max) { |
|
35 |
this.max = max; |
|
36 |
} |
|
37 |
|
|
38 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/SimpleSubscriptionDesc.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
import java.util.Date; |
|
6 |
|
|
7 |
/** |
|
8 |
* Created by stefanos on 10-Mar-17. |
|
9 |
*/ |
|
10 |
public class SimpleSubscriptionDesc implements IsSerializable { |
|
11 |
|
|
12 |
private String id; |
|
13 |
private String datasource; |
|
14 |
private String topic; |
|
15 |
private long count; |
|
16 |
private Date creationDate; |
|
17 |
private Date lastNotificationDate; |
|
18 |
|
|
19 |
public SimpleSubscriptionDesc() { |
|
20 |
} |
|
21 |
|
|
22 |
public SimpleSubscriptionDesc(final String id, final String datasource, final String topic, final long count) { |
|
23 |
this.id = id; |
|
24 |
this.datasource = datasource; |
|
25 |
this.topic = topic; |
|
26 |
this.count = count; |
|
27 |
} |
|
28 |
|
|
29 |
public String getId() { |
|
30 |
return this.id; |
|
31 |
} |
|
32 |
|
|
33 |
public void setId(final String id) { |
|
34 |
this.id = id; |
|
35 |
} |
|
36 |
|
|
37 |
public String getDatasource() { |
|
38 |
return this.datasource; |
|
39 |
} |
|
40 |
|
|
41 |
public void setDatasource(final String datasource) { |
|
42 |
this.datasource = datasource; |
|
43 |
} |
|
44 |
|
|
45 |
public String getTopic() { |
|
46 |
return this.topic; |
|
47 |
} |
|
48 |
|
|
49 |
public void setTopic(final String topic) { |
|
50 |
this.topic = topic; |
|
51 |
} |
|
52 |
|
|
53 |
public long getCount() { |
|
54 |
return this.count; |
|
55 |
} |
|
56 |
|
|
57 |
public void setCount(final long count) { |
|
58 |
this.count = count; |
|
59 |
} |
|
60 |
|
|
61 |
public Date getCreationDate() { |
|
62 |
return creationDate; |
|
63 |
} |
|
64 |
|
|
65 |
public void setCreationDate(Date creationDate) { |
|
66 |
this.creationDate = creationDate; |
|
67 |
} |
|
68 |
|
|
69 |
public Date getLastNotificationDate() { |
|
70 |
return lastNotificationDate; |
|
71 |
} |
|
72 |
|
|
73 |
public void setLastNotificationDate(Date lastNotificationDate) { |
|
74 |
this.lastNotificationDate = lastNotificationDate; |
|
75 |
} |
|
76 |
} |
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Provenance.java | ||
---|---|---|
1 |
package eu.dnetlib.repo.manager.shared.broker; |
|
2 |
|
|
3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
|
4 |
|
|
5 |
/** |
|
6 |
* Created by claudio on 26/07/16. |
|
7 |
*/ |
|
8 |
public class Provenance implements IsSerializable { |
|
9 |
|
|
10 |
private String repositoryName; |
|
11 |
|
|
12 |
private String url; |
|
13 |
|
|
14 |
private String id; |
|
15 |
|
|
16 |
public Provenance() { |
|
17 |
} |
|
18 |
|
|
19 |
public String getRepositoryName() { |
|
20 |
return repositoryName; |
|
21 |
} |
|
22 |
|
|
23 |
public void setRepositoryName(String repositoryName) { |
|
24 |
this.repositoryName = repositoryName; |
|
25 |
} |
|
26 |
|
|
27 |
public String getUrl() { |
Also available in: Unified diff
Updating interfaces to not include IsSerializable