Last change
on this file since 107 was
103,
checked in by stoda, 11 years ago
|
Supervisor done
TODO: revise supervisor
|
File size:
1.0 KB
|
Rev | Line | |
---|
[91] | 1 | package omq.common.broker; |
---|
| 2 | |
---|
| 3 | import java.io.Serializable; |
---|
| 4 | |
---|
| 5 | public 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; |
---|
[100] | 14 | private int numThreads; |
---|
[91] | 15 | |
---|
[100] | 16 | public HasObject(String brokerName, String reference, boolean hasObject, int numThreads) { |
---|
[91] | 17 | this.brokerName = brokerName; |
---|
| 18 | this.reference = reference; |
---|
| 19 | this.hasObject = hasObject; |
---|
[100] | 20 | this.numThreads = numThreads; |
---|
[91] | 21 | } |
---|
| 22 | |
---|
| 23 | public String getBrokerName() { |
---|
| 24 | return brokerName; |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | public void setBrokerName(String brokerName) { |
---|
| 28 | this.brokerName = brokerName; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | public String getReference() { |
---|
| 32 | return reference; |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | public void setReference(String reference) { |
---|
| 36 | this.reference = reference; |
---|
| 37 | } |
---|
| 38 | |
---|
[103] | 39 | public boolean hasObject() { |
---|
[91] | 40 | return hasObject; |
---|
| 41 | } |
---|
| 42 | |
---|
| 43 | public void setHasObject(boolean hasObject) { |
---|
| 44 | this.hasObject = hasObject; |
---|
| 45 | } |
---|
| 46 | |
---|
[100] | 47 | public int getNumThreads() { |
---|
| 48 | return numThreads; |
---|
| 49 | } |
---|
| 50 | |
---|
| 51 | public void setNumThreads(int numThreads) { |
---|
| 52 | this.numThreads = numThreads; |
---|
| 53 | } |
---|
| 54 | |
---|
[91] | 55 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.