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
|
}
|