Project

General

Profile

1
package eu.dnetlib.repo.manager.service.shared.broker;
2
import com.google.gwt.user.client.rpc.IsSerializable;
3

    
4
/**
5
 * Created by stefanos on 10-Mar-17.
6
 */
7
public class SimpleSubscriptionDesc implements IsSerializable {
8

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

    
14
    public SimpleSubscriptionDesc() {
15
    }
16

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

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

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

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

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

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

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

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

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

    
56
}
(22-22/23)