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 * details for a specfic queue or topic
15 *
16 * <p>Java class for queueORtopicDetails complex type.
17 *
18 * <p>The following schema fragment specifies the expected content contained within this class.
19 *
20 * <pre>
21 * <complexType name="queueORtopicDetails">
22 * <complexContent>
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24 * <sequence>
25 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
26 * <element name="itemtype" type="{http://www.w3.org/2001/XMLSchema}string"/>
27 * <element name="messagecount" type="{http://www.w3.org/2001/XMLSchema}long"/>
28 * <element name="consumercount" type="{http://www.w3.org/2001/XMLSchema}long"/>
29 * <element name="recievedmessagecount" type="{http://www.w3.org/2001/XMLSchema}long"/>
30 * <element name="activeconsumercount" type="{http://www.w3.org/2001/XMLSchema}long"/>
31 * <element name="bytesin" type="{http://www.w3.org/2001/XMLSchema}long"/>
32 * <element name="bytesout" type="{http://www.w3.org/2001/XMLSchema}long"/>
33 * <element name="bytesdropped" type="{http://www.w3.org/2001/XMLSchema}long"/>
34 * <element name="messagesdropped" type="{http://www.w3.org/2001/XMLSchema}long"/>
35 * <element name="queue_depth" type="{http://www.w3.org/2001/XMLSchema}long"/>
36 * <element name="agenttype" type="{http://www.w3.org/2001/XMLSchema}string"/>
37 * <element name="canonicalname" type="{http://www.w3.org/2001/XMLSchema}string"/>
38 * <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
39 * </sequence>
40 * </restriction>
41 * </complexContent>
42 * </complexType>
43 * </pre>
44 *
45 *
46 */
47 @XmlAccessorType(XmlAccessType.FIELD)
48 @XmlType(name = "queueORtopicDetails", propOrder = {
49 "name",
50 "itemtype",
51 "messagecount",
52 "consumercount",
53 "recievedmessagecount",
54 "activeconsumercount",
55 "bytesin",
56 "bytesout",
57 "bytesdropped",
58 "messagesdropped",
59 "queueDepth",
60 "agenttype",
61 "canonicalname",
62 "timestamp"
63 })
64 public class QueueORtopicDetails
65 implements Serializable
66 {
67
68 private final static long serialVersionUID = 1L;
69 @XmlElement(required = true)
70 protected String name;
71 @XmlElement(required = true, nillable = true)
72 protected String itemtype;
73 @XmlElement(required = true, type = Long.class, nillable = true)
74 protected Long messagecount;
75 @XmlElement(required = true, type = Long.class, nillable = true)
76 protected Long consumercount;
77 @XmlElement(required = true, type = Long.class, nillable = true)
78 protected Long recievedmessagecount;
79 @XmlElement(required = true, type = Long.class, nillable = true)
80 protected Long activeconsumercount;
81 @XmlElement(required = true, type = Long.class, nillable = true)
82 protected Long bytesin;
83 @XmlElement(required = true, type = Long.class, nillable = true)
84 protected Long bytesout;
85 @XmlElement(required = true, type = Long.class, nillable = true)
86 protected Long bytesdropped;
87 @XmlElement(required = true, type = Long.class, nillable = true)
88 protected Long messagesdropped;
89 @XmlElement(name = "queue_depth", required = true, type = Long.class, nillable = true)
90 protected Long queueDepth;
91 @XmlElement(required = true, nillable = true)
92 protected String agenttype;
93 @XmlElement(required = true, nillable = true)
94 protected String canonicalname;
95 @XmlElement(required = true)
96 @XmlSchemaType(name = "dateTime")
97 protected Calendar timestamp;
98
99 /**
100 * Gets the value of the name property.
101 *
102 * @return
103 * possible object is
104 * {@link String }
105 *
106 */
107 public String getName() {
108 return name;
109 }
110
111 /**
112 * Sets the value of the name property.
113 *
114 * @param value
115 * allowed object is
116 * {@link String }
117 *
118 */
119 public void setName(String value) {
120 this.name = value;
121 }
122
123 public boolean isSetName() {
124 return (this.name!= null);
125 }
126
127 /**
128 * Gets the value of the itemtype property.
129 *
130 * @return
131 * possible object is
132 * {@link String }
133 *
134 */
135 public String getItemtype() {
136 return itemtype;
137 }
138
139 /**
140 * Sets the value of the itemtype property.
141 *
142 * @param value
143 * allowed object is
144 * {@link String }
145 *
146 */
147 public void setItemtype(String value) {
148 this.itemtype = value;
149 }
150
151 public boolean isSetItemtype() {
152 return (this.itemtype!= null);
153 }
154
155 /**
156 * Gets the value of the messagecount property.
157 *
158 * @return
159 * possible object is
160 * {@link Long }
161 *
162 */
163 public Long getMessagecount() {
164 return messagecount;
165 }
166
167 /**
168 * Sets the value of the messagecount property.
169 *
170 * @param value
171 * allowed object is
172 * {@link Long }
173 *
174 */
175 public void setMessagecount(Long value) {
176 this.messagecount = value;
177 }
178
179 public boolean isSetMessagecount() {
180 return (this.messagecount!= null);
181 }
182
183 /**
184 * Gets the value of the consumercount property.
185 *
186 * @return
187 * possible object is
188 * {@link Long }
189 *
190 */
191 public Long getConsumercount() {
192 return consumercount;
193 }
194
195 /**
196 * Sets the value of the consumercount property.
197 *
198 * @param value
199 * allowed object is
200 * {@link Long }
201 *
202 */
203 public void setConsumercount(Long value) {
204 this.consumercount = value;
205 }
206
207 public boolean isSetConsumercount() {
208 return (this.consumercount!= null);
209 }
210
211 /**
212 * Gets the value of the recievedmessagecount property.
213 *
214 * @return
215 * possible object is
216 * {@link Long }
217 *
218 */
219 public Long getRecievedmessagecount() {
220 return recievedmessagecount;
221 }
222
223 /**
224 * Sets the value of the recievedmessagecount property.
225 *
226 * @param value
227 * allowed object is
228 * {@link Long }
229 *
230 */
231 public void setRecievedmessagecount(Long value) {
232 this.recievedmessagecount = value;
233 }
234
235 public boolean isSetRecievedmessagecount() {
236 return (this.recievedmessagecount!= null);
237 }
238
239 /**
240 * Gets the value of the activeconsumercount property.
241 *
242 * @return
243 * possible object is
244 * {@link Long }
245 *
246 */
247 public Long getActiveconsumercount() {
248 return activeconsumercount;
249 }
250
251 /**
252 * Sets the value of the activeconsumercount property.
253 *
254 * @param value
255 * allowed object is
256 * {@link Long }
257 *
258 */
259 public void setActiveconsumercount(Long value) {
260 this.activeconsumercount = value;
261 }
262
263 public boolean isSetActiveconsumercount() {
264 return (this.activeconsumercount!= null);
265 }
266
267 /**
268 * Gets the value of the bytesin property.
269 *
270 * @return
271 * possible object is
272 * {@link Long }
273 *
274 */
275 public Long getBytesin() {
276 return bytesin;
277 }
278
279 /**
280 * Sets the value of the bytesin property.
281 *
282 * @param value
283 * allowed object is
284 * {@link Long }
285 *
286 */
287 public void setBytesin(Long value) {
288 this.bytesin = value;
289 }
290
291 public boolean isSetBytesin() {
292 return (this.bytesin!= null);
293 }
294
295 /**
296 * Gets the value of the bytesout property.
297 *
298 * @return
299 * possible object is
300 * {@link Long }
301 *
302 */
303 public Long getBytesout() {
304 return bytesout;
305 }
306
307 /**
308 * Sets the value of the bytesout property.
309 *
310 * @param value
311 * allowed object is
312 * {@link Long }
313 *
314 */
315 public void setBytesout(Long value) {
316 this.bytesout = value;
317 }
318
319 public boolean isSetBytesout() {
320 return (this.bytesout!= null);
321 }
322
323 /**
324 * Gets the value of the bytesdropped property.
325 *
326 * @return
327 * possible object is
328 * {@link Long }
329 *
330 */
331 public Long getBytesdropped() {
332 return bytesdropped;
333 }
334
335 /**
336 * Sets the value of the bytesdropped property.
337 *
338 * @param value
339 * allowed object is
340 * {@link Long }
341 *
342 */
343 public void setBytesdropped(Long value) {
344 this.bytesdropped = value;
345 }
346
347 public boolean isSetBytesdropped() {
348 return (this.bytesdropped!= null);
349 }
350
351 /**
352 * Gets the value of the messagesdropped property.
353 *
354 * @return
355 * possible object is
356 * {@link Long }
357 *
358 */
359 public Long getMessagesdropped() {
360 return messagesdropped;
361 }
362
363 /**
364 * Sets the value of the messagesdropped property.
365 *
366 * @param value
367 * allowed object is
368 * {@link Long }
369 *
370 */
371 public void setMessagesdropped(Long value) {
372 this.messagesdropped = value;
373 }
374
375 public boolean isSetMessagesdropped() {
376 return (this.messagesdropped!= null);
377 }
378
379 /**
380 * Gets the value of the queueDepth property.
381 *
382 * @return
383 * possible object is
384 * {@link Long }
385 *
386 */
387 public Long getQueueDepth() {
388 return queueDepth;
389 }
390
391 /**
392 * Sets the value of the queueDepth property.
393 *
394 * @param value
395 * allowed object is
396 * {@link Long }
397 *
398 */
399 public void setQueueDepth(Long value) {
400 this.queueDepth = value;
401 }
402
403 public boolean isSetQueueDepth() {
404 return (this.queueDepth!= null);
405 }
406
407 /**
408 * Gets the value of the agenttype property.
409 *
410 * @return
411 * possible object is
412 * {@link String }
413 *
414 */
415 public String getAgenttype() {
416 return agenttype;
417 }
418
419 /**
420 * Sets the value of the agenttype property.
421 *
422 * @param value
423 * allowed object is
424 * {@link String }
425 *
426 */
427 public void setAgenttype(String value) {
428 this.agenttype = value;
429 }
430
431 public boolean isSetAgenttype() {
432 return (this.agenttype!= null);
433 }
434
435 /**
436 * Gets the value of the canonicalname property.
437 *
438 * @return
439 * possible object is
440 * {@link String }
441 *
442 */
443 public String getCanonicalname() {
444 return canonicalname;
445 }
446
447 /**
448 * Sets the value of the canonicalname property.
449 *
450 * @param value
451 * allowed object is
452 * {@link String }
453 *
454 */
455 public void setCanonicalname(String value) {
456 this.canonicalname = value;
457 }
458
459 public boolean isSetCanonicalname() {
460 return (this.canonicalname!= null);
461 }
462
463 /**
464 * Gets the value of the timestamp property.
465 *
466 * @return
467 * possible object is
468 * {@link Calendar }
469 *
470 */
471 public Calendar getTimestamp() {
472 return timestamp;
473 }
474
475 /**
476 * Sets the value of the timestamp property.
477 *
478 * @param value
479 * allowed object is
480 * {@link Calendar }
481 *
482 */
483 public void setTimestamp(Calendar value) {
484 this.timestamp = value;
485 }
486
487 public boolean isSetTimestamp() {
488 return (this.timestamp!= null);
489 }
490
491 }