1
2 package org.miloss.fgsms.services.interfaces.dataaccessservice;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlSchemaType;
9 import javax.xml.bind.annotation.XmlType;
10 import java.util.Calendar;
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47 @XmlAccessorType(XmlAccessType.FIELD)
48 @XmlType(name = "brokerDetails", propOrder = {
49 "uri",
50 "displayName",
51 "operational",
52 "numberOfQueuesTopics",
53 "totalmessagesent",
54 "totalmessagesrecieved",
55 "totalmessagesdropped",
56 "totalqueuedepth",
57 "totalconsumers",
58 "totalactiveconsumers",
59 "totalbytesin",
60 "totalbytesout",
61 "totalbytesdropped",
62 "lastCheckIn"
63 })
64 public class BrokerDetails
65 implements Serializable
66 {
67
68 private final static long serialVersionUID = 1L;
69 @XmlElement(required = true)
70 protected String uri;
71 @XmlElement(required = true)
72 protected String displayName;
73 protected boolean operational;
74 protected long numberOfQueuesTopics;
75 protected long totalmessagesent;
76 protected long totalmessagesrecieved;
77 protected long totalmessagesdropped;
78 protected long totalqueuedepth;
79 protected long totalconsumers;
80 protected long totalactiveconsumers;
81 protected long totalbytesin;
82 protected long totalbytesout;
83 protected long totalbytesdropped;
84 @XmlElement(required = true)
85 @XmlSchemaType(name = "dateTime")
86 protected Calendar lastCheckIn;
87
88
89
90
91
92
93
94
95
96 public String getUri() {
97 return uri;
98 }
99
100
101
102
103
104
105
106
107
108 public void setUri(String value) {
109 this.uri = value;
110 }
111
112 public boolean isSetUri() {
113 return (this.uri!= null);
114 }
115
116
117
118
119
120
121
122
123
124 public String getDisplayName() {
125 return displayName;
126 }
127
128
129
130
131
132
133
134
135
136 public void setDisplayName(String value) {
137 this.displayName = value;
138 }
139
140 public boolean isSetDisplayName() {
141 return (this.displayName!= null);
142 }
143
144
145
146
147
148 public boolean isOperational() {
149 return operational;
150 }
151
152
153
154
155
156 public void setOperational(boolean value) {
157 this.operational = value;
158 }
159
160 public boolean isSetOperational() {
161 return true;
162 }
163
164
165
166
167
168 public long getNumberOfQueuesTopics() {
169 return numberOfQueuesTopics;
170 }
171
172
173
174
175
176 public void setNumberOfQueuesTopics(long value) {
177 this.numberOfQueuesTopics = value;
178 }
179
180 public boolean isSetNumberOfQueuesTopics() {
181 return true;
182 }
183
184
185
186
187
188 public long getTotalmessagesent() {
189 return totalmessagesent;
190 }
191
192
193
194
195
196 public void setTotalmessagesent(long value) {
197 this.totalmessagesent = value;
198 }
199
200 public boolean isSetTotalmessagesent() {
201 return true;
202 }
203
204
205
206
207
208 public long getTotalmessagesrecieved() {
209 return totalmessagesrecieved;
210 }
211
212
213
214
215
216 public void setTotalmessagesrecieved(long value) {
217 this.totalmessagesrecieved = value;
218 }
219
220 public boolean isSetTotalmessagesrecieved() {
221 return true;
222 }
223
224
225
226
227
228 public long getTotalmessagesdropped() {
229 return totalmessagesdropped;
230 }
231
232
233
234
235
236 public void setTotalmessagesdropped(long value) {
237 this.totalmessagesdropped = value;
238 }
239
240 public boolean isSetTotalmessagesdropped() {
241 return true;
242 }
243
244
245
246
247
248 public long getTotalqueuedepth() {
249 return totalqueuedepth;
250 }
251
252
253
254
255
256 public void setTotalqueuedepth(long value) {
257 this.totalqueuedepth = value;
258 }
259
260 public boolean isSetTotalqueuedepth() {
261 return true;
262 }
263
264
265
266
267
268 public long getTotalconsumers() {
269 return totalconsumers;
270 }
271
272
273
274
275
276 public void setTotalconsumers(long value) {
277 this.totalconsumers = value;
278 }
279
280 public boolean isSetTotalconsumers() {
281 return true;
282 }
283
284
285
286
287
288 public long getTotalactiveconsumers() {
289 return totalactiveconsumers;
290 }
291
292
293
294
295
296 public void setTotalactiveconsumers(long value) {
297 this.totalactiveconsumers = value;
298 }
299
300 public boolean isSetTotalactiveconsumers() {
301 return true;
302 }
303
304
305
306
307
308 public long getTotalbytesin() {
309 return totalbytesin;
310 }
311
312
313
314
315
316 public void setTotalbytesin(long value) {
317 this.totalbytesin = value;
318 }
319
320 public boolean isSetTotalbytesin() {
321 return true;
322 }
323
324
325
326
327
328 public long getTotalbytesout() {
329 return totalbytesout;
330 }
331
332
333
334
335
336 public void setTotalbytesout(long value) {
337 this.totalbytesout = value;
338 }
339
340 public boolean isSetTotalbytesout() {
341 return true;
342 }
343
344
345
346
347
348 public long getTotalbytesdropped() {
349 return totalbytesdropped;
350 }
351
352
353
354
355
356 public void setTotalbytesdropped(long value) {
357 this.totalbytesdropped = value;
358 }
359
360 public boolean isSetTotalbytesdropped() {
361 return true;
362 }
363
364
365
366
367
368
369
370
371
372 public Calendar getLastCheckIn() {
373 return lastCheckIn;
374 }
375
376
377
378
379
380
381
382
383
384 public void setLastCheckIn(Calendar value) {
385 this.lastCheckIn = value;
386 }
387
388 public boolean isSetLastCheckIn() {
389 return (this.lastCheckIn!= null);
390 }
391
392 }