source: branches/objectmq-1.0/src/omq/common/event/Event.java @ 33

Last change on this file since 33 was 33, checked in by amoreno, 11 years ago

new release version

File size: 703 bytes
Line 
1package omq.common.event;
2
3import java.io.Serializable;
4
5/**
6 *
7 * @author Sergi Toda <sergi.toda@estudiants.urv.cat>
8 *
9 */
10public abstract class Event implements Serializable {
11
12        /**
13         *
14         */
15        private static final long serialVersionUID = 1L;
16
17        private String corrId;
18        private String topic;
19
20        public Event() {
21        }
22
23        public Event(String corrId, String topic) {
24                this.corrId = corrId;
25                this.topic = topic;
26        }
27
28        public Event(String corrId) {
29                this.corrId = corrId;
30        }
31
32        public String getCorrId() {
33                return corrId;
34        }
35
36        public void setCorrId(String corrId) {
37                this.corrId = corrId;
38        }
39
40        public String getTopic() {
41                return topic;
42        }
43
44        public void setTopic(String topic) {
45                this.topic = topic;
46        }
47}
Note: See TracBrowser for help on using the repository browser.