source: branches/supervisor/src/main/java/omq/common/broker/HasObject.java @ 91

Last change on this file since 91 was 91, checked in by stoda, 11 years ago

Semaphores added and removed, ack error discovered and solutioned... Some tests added

Supervisor interface created and more things I'll do later...

TODO: supervisor!!

File size: 846 bytes
Line 
1package omq.common.broker;
2
3import java.io.Serializable;
4
5public class HasObject implements Serializable {
6        /**
7         *
8         */
9        private static final long serialVersionUID = 1L;
10
11        private String brokerName;
12        private String reference;
13        private boolean hasObject;
14
15        public HasObject(String brokerName, String reference, boolean hasObject) {
16                this.brokerName = brokerName;
17                this.reference = reference;
18                this.hasObject = hasObject;
19        }
20
21        public String getBrokerName() {
22                return brokerName;
23        }
24
25        public void setBrokerName(String brokerName) {
26                this.brokerName = brokerName;
27        }
28
29        public String getReference() {
30                return reference;
31        }
32
33        public void setReference(String reference) {
34                this.reference = reference;
35        }
36
37        public boolean isHasObject() {
38                return hasObject;
39        }
40
41        public void setHasObject(boolean hasObject) {
42                this.hasObject = hasObject;
43        }
44
45}
Note: See TracBrowser for help on using the repository browser.