Project

General

Profile

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 class SimpleSubscriptionDesc implements IsSerializable {
9

    
10
    private String id;
11
    private String datasource;
12
    private String topic;
13
    private long count;
14

    
15
    public SimpleSubscriptionDesc() {
16
    }
17

    
18
    public SimpleSubscriptionDesc(final String id, final String datasource, final String topic, final long count) {
19
        this.id = id;
20
        this.datasource = datasource;
21
        this.topic = topic;
22
        this.count = count;
23
    }
24

    
25
    public String getId() {
26
        return this.id;
27
    }
28

    
29
    public void setId(final String id) {
30
        this.id = id;
31
    }
32

    
33
    public String getDatasource() {
34
        return this.datasource;
35
    }
36

    
37
    public void setDatasource(final String datasource) {
38
        this.datasource = datasource;
39
    }
40

    
41
    public String getTopic() {
42
        return this.topic;
43
    }
44

    
45
    public void setTopic(final String topic) {
46
        this.topic = topic;
47
    }
48

    
49
    public long getCount() {
50
        return this.count;
51
    }
52

    
53
    public void setCount(final long count) {
54
        this.count = count;
55
    }
56

    
57
}
(22-22/23)