View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.dataaccessservice;
3   
4   import java.io.Serializable;
5   import java.math.BigInteger;
6   import javax.xml.bind.annotation.XmlAccessType;
7   import javax.xml.bind.annotation.XmlAccessorType;
8   import javax.xml.bind.annotation.XmlElement;
9   import javax.xml.bind.annotation.XmlSchemaType;
10  import javax.xml.bind.annotation.XmlType;
11  import javax.xml.datatype.Duration;
12  import java.util.Calendar;
13  
14  
15  /**
16   * statistics data
17   * 
18   * <p>Java class for QuickStatData complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="QuickStatData">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;sequence>
27   *         &lt;element name="TimeInMinutes" type="{http://www.w3.org/2001/XMLSchema}integer"/>
28   *         &lt;element name="SuccessCount" type="{http://www.w3.org/2001/XMLSchema}long"/>
29   *         &lt;element name="FailureCount" type="{http://www.w3.org/2001/XMLSchema}long"/>
30   *         &lt;element name="MaximumResponseSize" type="{http://www.w3.org/2001/XMLSchema}long"/>
31   *         &lt;element name="MaximumRequestSize" type="{http://www.w3.org/2001/XMLSchema}long"/>
32   *         &lt;element name="MaximumResponseTime" type="{http://www.w3.org/2001/XMLSchema}long"/>
33   *         &lt;element name="SLAViolationCount" type="{http://www.w3.org/2001/XMLSchema}long"/>
34   *         &lt;element name="AverageResponseTime" type="{http://www.w3.org/2001/XMLSchema}long"/>
35   *         &lt;element name="AvailabilityPercentage" type="{http://www.w3.org/2001/XMLSchema}double"/>
36   *         &lt;element name="MTBF" type="{http://www.w3.org/2001/XMLSchema}duration"/>
37   *         &lt;element name="UpdatedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
38   *         &lt;element name="AverageCPUUsage" type="{http://www.w3.org/2001/XMLSchema}double"/>
39   *         &lt;element name="AverageMemoryUsage" type="{http://www.w3.org/2001/XMLSchema}long"/>
40   *         &lt;element name="AverageThreadCount" type="{http://www.w3.org/2001/XMLSchema}long"/>
41   *         &lt;element name="AverageOpenFileCount" type="{http://www.w3.org/2001/XMLSchema}long"/>
42   *         &lt;element name="AverageChannelCount" type="{http://www.w3.org/2001/XMLSchema}long"/>
43   *         &lt;element name="LargestQueueDepth" type="{http://www.w3.org/2001/XMLSchema}long"/>
44   *         &lt;element name="AverageMessagesIn" type="{http://www.w3.org/2001/XMLSchema}long"/>
45   *         &lt;element name="AverageMessagesOut" type="{http://www.w3.org/2001/XMLSchema}long"/>
46   *         &lt;element name="AverageMessagesDropped" type="{http://www.w3.org/2001/XMLSchema}long"/>
47   *       &lt;/sequence>
48   *     &lt;/restriction>
49   *   &lt;/complexContent>
50   * &lt;/complexType>
51   * </pre>
52   * 
53   * 
54   */
55  @XmlAccessorType(XmlAccessType.FIELD)
56  @XmlType(name = "QuickStatData", propOrder = {
57      "timeInMinutes",
58      "successCount",
59      "failureCount",
60      "maximumResponseSize",
61      "maximumRequestSize",
62      "maximumResponseTime",
63      "slaViolationCount",
64      "averageResponseTime",
65      "availabilityPercentage",
66      "mtbf",
67      "updatedAt",
68      "averageCPUUsage",
69      "averageMemoryUsage",
70      "averageThreadCount",
71      "averageOpenFileCount",
72      "averageChannelCount",
73      "largestQueueDepth",
74      "averageMessagesIn",
75      "averageMessagesOut",
76      "averageMessagesDropped"
77  })
78  public class QuickStatData
79      implements Serializable
80  {
81  
82      private final static long serialVersionUID = 1L;
83      @XmlElement(name = "TimeInMinutes", required = true)
84      protected BigInteger timeInMinutes;
85      @XmlElement(name = "SuccessCount")
86      protected long successCount;
87      @XmlElement(name = "FailureCount")
88      protected long failureCount;
89      @XmlElement(name = "MaximumResponseSize")
90      protected long maximumResponseSize;
91      @XmlElement(name = "MaximumRequestSize")
92      protected long maximumRequestSize;
93      @XmlElement(name = "MaximumResponseTime")
94      protected long maximumResponseTime;
95      @XmlElement(name = "SLAViolationCount")
96      protected long slaViolationCount;
97      @XmlElement(name = "AverageResponseTime")
98      protected long averageResponseTime;
99      @XmlElement(name = "AvailabilityPercentage")
100     protected double availabilityPercentage;
101     @XmlElement(name = "MTBF", required = true)
102     protected Duration mtbf;
103     @XmlElement(name = "UpdatedAt", required = true)
104     @XmlSchemaType(name = "dateTime")
105     protected Calendar updatedAt;
106     @XmlElement(name = "AverageCPUUsage", required = true, type = Double.class, nillable = true)
107     protected Double averageCPUUsage;
108     @XmlElement(name = "AverageMemoryUsage", required = true, type = Long.class, nillable = true)
109     protected Long averageMemoryUsage;
110     @XmlElement(name = "AverageThreadCount", required = true, type = Long.class, nillable = true)
111     protected Long averageThreadCount;
112     @XmlElement(name = "AverageOpenFileCount", required = true, type = Long.class, nillable = true)
113     protected Long averageOpenFileCount;
114     @XmlElement(name = "AverageChannelCount", required = true, type = Long.class, nillable = true)
115     protected Long averageChannelCount;
116     @XmlElement(name = "LargestQueueDepth", required = true, type = Long.class, nillable = true)
117     protected Long largestQueueDepth;
118     @XmlElement(name = "AverageMessagesIn", required = true, type = Long.class, nillable = true)
119     protected Long averageMessagesIn;
120     @XmlElement(name = "AverageMessagesOut", required = true, type = Long.class, nillable = true)
121     protected Long averageMessagesOut;
122     @XmlElement(name = "AverageMessagesDropped", required = true, type = Long.class, nillable = true)
123     protected Long averageMessagesDropped;
124 
125     /**
126      * Gets the value of the timeInMinutes property.
127      * 
128      * @return
129      *     possible object is
130      *     {@link BigInteger }
131      *     
132      */
133     public BigInteger getTimeInMinutes() {
134         return timeInMinutes;
135     }
136 
137     /**
138      * Sets the value of the timeInMinutes property.
139      * 
140      * @param value
141      *     allowed object is
142      *     {@link BigInteger }
143      *     
144      */
145     public void setTimeInMinutes(BigInteger value) {
146         this.timeInMinutes = value;
147     }
148 
149     public boolean isSetTimeInMinutes() {
150         return (this.timeInMinutes!= null);
151     }
152 
153     /**
154      * Gets the value of the successCount property.
155      * 
156      */
157     public long getSuccessCount() {
158         return successCount;
159     }
160 
161     /**
162      * Sets the value of the successCount property.
163      * 
164      */
165     public void setSuccessCount(long value) {
166         this.successCount = value;
167     }
168 
169     public boolean isSetSuccessCount() {
170         return true;
171     }
172 
173     /**
174      * Gets the value of the failureCount property.
175      * 
176      */
177     public long getFailureCount() {
178         return failureCount;
179     }
180 
181     /**
182      * Sets the value of the failureCount property.
183      * 
184      */
185     public void setFailureCount(long value) {
186         this.failureCount = value;
187     }
188 
189     public boolean isSetFailureCount() {
190         return true;
191     }
192 
193     /**
194      * Gets the value of the maximumResponseSize property.
195      * 
196      */
197     public long getMaximumResponseSize() {
198         return maximumResponseSize;
199     }
200 
201     /**
202      * Sets the value of the maximumResponseSize property.
203      * 
204      */
205     public void setMaximumResponseSize(long value) {
206         this.maximumResponseSize = value;
207     }
208 
209     public boolean isSetMaximumResponseSize() {
210         return true;
211     }
212 
213     /**
214      * Gets the value of the maximumRequestSize property.
215      * 
216      */
217     public long getMaximumRequestSize() {
218         return maximumRequestSize;
219     }
220 
221     /**
222      * Sets the value of the maximumRequestSize property.
223      * 
224      */
225     public void setMaximumRequestSize(long value) {
226         this.maximumRequestSize = value;
227     }
228 
229     public boolean isSetMaximumRequestSize() {
230         return true;
231     }
232 
233     /**
234      * Gets the value of the maximumResponseTime property.
235      * 
236      */
237     public long getMaximumResponseTime() {
238         return maximumResponseTime;
239     }
240 
241     /**
242      * Sets the value of the maximumResponseTime property.
243      * 
244      */
245     public void setMaximumResponseTime(long value) {
246         this.maximumResponseTime = value;
247     }
248 
249     public boolean isSetMaximumResponseTime() {
250         return true;
251     }
252 
253     /**
254      * Gets the value of the slaViolationCount property.
255      * 
256      */
257     public long getSLAViolationCount() {
258         return slaViolationCount;
259     }
260 
261     /**
262      * Sets the value of the slaViolationCount property.
263      * 
264      */
265     public void setSLAViolationCount(long value) {
266         this.slaViolationCount = value;
267     }
268 
269     public boolean isSetSLAViolationCount() {
270         return true;
271     }
272 
273     /**
274      * Gets the value of the averageResponseTime property.
275      * 
276      */
277     public long getAverageResponseTime() {
278         return averageResponseTime;
279     }
280 
281     /**
282      * Sets the value of the averageResponseTime property.
283      * 
284      */
285     public void setAverageResponseTime(long value) {
286         this.averageResponseTime = value;
287     }
288 
289     public boolean isSetAverageResponseTime() {
290         return true;
291     }
292 
293     /**
294      * Gets the value of the availabilityPercentage property.
295      * 
296      */
297     public double getAvailabilityPercentage() {
298         return availabilityPercentage;
299     }
300 
301     /**
302      * Sets the value of the availabilityPercentage property.
303      * 
304      */
305     public void setAvailabilityPercentage(double value) {
306         this.availabilityPercentage = value;
307     }
308 
309     public boolean isSetAvailabilityPercentage() {
310         return true;
311     }
312 
313     /**
314      * Gets the value of the mtbf property.
315      * 
316      * @return
317      *     possible object is
318      *     {@link Duration }
319      *     
320      */
321     public Duration getMTBF() {
322         return mtbf;
323     }
324 
325     /**
326      * Sets the value of the mtbf property.
327      * 
328      * @param value
329      *     allowed object is
330      *     {@link Duration }
331      *     
332      */
333     public void setMTBF(Duration value) {
334         this.mtbf = value;
335     }
336 
337     public boolean isSetMTBF() {
338         return (this.mtbf!= null);
339     }
340 
341     /**
342      * Gets the value of the updatedAt property.
343      * 
344      * @return
345      *     possible object is
346      *     {@link Calendar }
347      *     
348      */
349     public Calendar getUpdatedAt() {
350         return updatedAt;
351     }
352 
353     /**
354      * Sets the value of the updatedAt property.
355      * 
356      * @param value
357      *     allowed object is
358      *     {@link Calendar }
359      *     
360      */
361     public void setUpdatedAt(Calendar value) {
362         this.updatedAt = value;
363     }
364 
365     public boolean isSetUpdatedAt() {
366         return (this.updatedAt!= null);
367     }
368 
369     /**
370      * Gets the value of the averageCPUUsage property.
371      * 
372      * @return
373      *     possible object is
374      *     {@link Double }
375      *     
376      */
377     public Double getAverageCPUUsage() {
378         return averageCPUUsage;
379     }
380 
381     /**
382      * Sets the value of the averageCPUUsage property.
383      * 
384      * @param value
385      *     allowed object is
386      *     {@link Double }
387      *     
388      */
389     public void setAverageCPUUsage(Double value) {
390         this.averageCPUUsage = value;
391     }
392 
393     public boolean isSetAverageCPUUsage() {
394         return (this.averageCPUUsage!= null);
395     }
396 
397     /**
398      * Gets the value of the averageMemoryUsage property.
399      * 
400      * @return
401      *     possible object is
402      *     {@link Long }
403      *     
404      */
405     public Long getAverageMemoryUsage() {
406         return averageMemoryUsage;
407     }
408 
409     /**
410      * Sets the value of the averageMemoryUsage property.
411      * 
412      * @param value
413      *     allowed object is
414      *     {@link Long }
415      *     
416      */
417     public void setAverageMemoryUsage(Long value) {
418         this.averageMemoryUsage = value;
419     }
420 
421     public boolean isSetAverageMemoryUsage() {
422         return (this.averageMemoryUsage!= null);
423     }
424 
425     /**
426      * Gets the value of the averageThreadCount property.
427      * 
428      * @return
429      *     possible object is
430      *     {@link Long }
431      *     
432      */
433     public Long getAverageThreadCount() {
434         return averageThreadCount;
435     }
436 
437     /**
438      * Sets the value of the averageThreadCount property.
439      * 
440      * @param value
441      *     allowed object is
442      *     {@link Long }
443      *     
444      */
445     public void setAverageThreadCount(Long value) {
446         this.averageThreadCount = value;
447     }
448 
449     public boolean isSetAverageThreadCount() {
450         return (this.averageThreadCount!= null);
451     }
452 
453     /**
454      * Gets the value of the averageOpenFileCount property.
455      * 
456      * @return
457      *     possible object is
458      *     {@link Long }
459      *     
460      */
461     public Long getAverageOpenFileCount() {
462         return averageOpenFileCount;
463     }
464 
465     /**
466      * Sets the value of the averageOpenFileCount property.
467      * 
468      * @param value
469      *     allowed object is
470      *     {@link Long }
471      *     
472      */
473     public void setAverageOpenFileCount(Long value) {
474         this.averageOpenFileCount = value;
475     }
476 
477     public boolean isSetAverageOpenFileCount() {
478         return (this.averageOpenFileCount!= null);
479     }
480 
481     /**
482      * Gets the value of the averageChannelCount property.
483      * 
484      * @return
485      *     possible object is
486      *     {@link Long }
487      *     
488      */
489     public Long getAverageChannelCount() {
490         return averageChannelCount;
491     }
492 
493     /**
494      * Sets the value of the averageChannelCount property.
495      * 
496      * @param value
497      *     allowed object is
498      *     {@link Long }
499      *     
500      */
501     public void setAverageChannelCount(Long value) {
502         this.averageChannelCount = value;
503     }
504 
505     public boolean isSetAverageChannelCount() {
506         return (this.averageChannelCount!= null);
507     }
508 
509     /**
510      * Gets the value of the largestQueueDepth property.
511      * 
512      * @return
513      *     possible object is
514      *     {@link Long }
515      *     
516      */
517     public Long getLargestQueueDepth() {
518         return largestQueueDepth;
519     }
520 
521     /**
522      * Sets the value of the largestQueueDepth property.
523      * 
524      * @param value
525      *     allowed object is
526      *     {@link Long }
527      *     
528      */
529     public void setLargestQueueDepth(Long value) {
530         this.largestQueueDepth = value;
531     }
532 
533     public boolean isSetLargestQueueDepth() {
534         return (this.largestQueueDepth!= null);
535     }
536 
537     /**
538      * Gets the value of the averageMessagesIn property.
539      * 
540      * @return
541      *     possible object is
542      *     {@link Long }
543      *     
544      */
545     public Long getAverageMessagesIn() {
546         return averageMessagesIn;
547     }
548 
549     /**
550      * Sets the value of the averageMessagesIn property.
551      * 
552      * @param value
553      *     allowed object is
554      *     {@link Long }
555      *     
556      */
557     public void setAverageMessagesIn(Long value) {
558         this.averageMessagesIn = value;
559     }
560 
561     public boolean isSetAverageMessagesIn() {
562         return (this.averageMessagesIn!= null);
563     }
564 
565     /**
566      * Gets the value of the averageMessagesOut property.
567      * 
568      * @return
569      *     possible object is
570      *     {@link Long }
571      *     
572      */
573     public Long getAverageMessagesOut() {
574         return averageMessagesOut;
575     }
576 
577     /**
578      * Sets the value of the averageMessagesOut property.
579      * 
580      * @param value
581      *     allowed object is
582      *     {@link Long }
583      *     
584      */
585     public void setAverageMessagesOut(Long value) {
586         this.averageMessagesOut = value;
587     }
588 
589     public boolean isSetAverageMessagesOut() {
590         return (this.averageMessagesOut!= null);
591     }
592 
593     /**
594      * Gets the value of the averageMessagesDropped property.
595      * 
596      * @return
597      *     possible object is
598      *     {@link Long }
599      *     
600      */
601     public Long getAverageMessagesDropped() {
602         return averageMessagesDropped;
603     }
604 
605     /**
606      * Sets the value of the averageMessagesDropped property.
607      * 
608      * @param value
609      *     allowed object is
610      *     {@link Long }
611      *     
612      */
613     public void setAverageMessagesDropped(Long value) {
614         this.averageMessagesDropped = value;
615     }
616 
617     public boolean isSetAverageMessagesDropped() {
618         return (this.averageMessagesDropped!= null);
619     }
620 
621 }