View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.datacollector;
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.XmlType;
9   
10  
11  /**
12   * broker data
13   * 
14   * <p>Java class for BrokerData complex type.
15   * 
16   * <p>The following schema fragment specifies the expected content contained within this class.
17   * 
18   * <pre>
19   * &lt;complexType name="BrokerData">
20   *   &lt;complexContent>
21   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22   *       &lt;sequence>
23   *         &lt;element name="QueueOrTopicName" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="QueueOrTopicCanonicalName" type="{http://www.w3.org/2001/XMLSchema}string"/>
25   *         &lt;element name="MessagesIn" type="{http://www.w3.org/2001/XMLSchema}long"/>
26   *         &lt;element name="MessagesOut" type="{http://www.w3.org/2001/XMLSchema}long"/>
27   *         &lt;element name="MessagesDropped" type="{http://www.w3.org/2001/XMLSchema}long"/>
28   *         &lt;element name="ActiveConsumers" type="{http://www.w3.org/2001/XMLSchema}long"/>
29   *         &lt;element name="TotalConsumers" type="{http://www.w3.org/2001/XMLSchema}long"/>
30   *         &lt;element name="BytesIn" type="{http://www.w3.org/2001/XMLSchema}long"/>
31   *         &lt;element name="BytesOut" type="{http://www.w3.org/2001/XMLSchema}long"/>
32   *         &lt;element name="BytesDropped" type="{http://www.w3.org/2001/XMLSchema}long"/>
33   *         &lt;element name="Depth" type="{http://www.w3.org/2001/XMLSchema}long"/>
34   *         &lt;element name="ItemType" type="{http://www.w3.org/2001/XMLSchema}string"/>
35   *       &lt;/sequence>
36   *     &lt;/restriction>
37   *   &lt;/complexContent>
38   * &lt;/complexType>
39   * </pre>
40   * 
41   * 
42   */
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "BrokerData", propOrder = {
45      "queueOrTopicName",
46      "queueOrTopicCanonicalName",
47      "messagesIn",
48      "messagesOut",
49      "messagesDropped",
50      "activeConsumers",
51      "totalConsumers",
52      "bytesIn",
53      "bytesOut",
54      "bytesDropped",
55      "depth",
56      "itemType"
57  })
58  public class BrokerData
59      implements Serializable
60  {
61  
62      private final static long serialVersionUID = 1L;
63      @XmlElement(name = "QueueOrTopicName", required = true)
64      protected String queueOrTopicName;
65      @XmlElement(name = "QueueOrTopicCanonicalName", required = true)
66      protected String queueOrTopicCanonicalName;
67      @XmlElement(name = "MessagesIn", defaultValue = "0")
68      protected long messagesIn;
69      @XmlElement(name = "MessagesOut", defaultValue = "0")
70      protected long messagesOut;
71      @XmlElement(name = "MessagesDropped", defaultValue = "0")
72      protected long messagesDropped;
73      @XmlElement(name = "ActiveConsumers", defaultValue = "0")
74      protected long activeConsumers;
75      @XmlElement(name = "TotalConsumers", defaultValue = "0")
76      protected long totalConsumers;
77      @XmlElement(name = "BytesIn", defaultValue = "0")
78      protected long bytesIn;
79      @XmlElement(name = "BytesOut", defaultValue = "0")
80      protected long bytesOut;
81      @XmlElement(name = "BytesDropped", defaultValue = "0")
82      protected long bytesDropped;
83      @XmlElement(name = "Depth", defaultValue = "0")
84      protected long depth;
85      @XmlElement(name = "ItemType", required = true)
86      protected String itemType;
87  
88      /**
89       * Gets the value of the queueOrTopicName property.
90       * 
91       * @return
92       *     possible object is
93       *     {@link String }
94       *     
95       */
96      public String getQueueOrTopicName() {
97          return queueOrTopicName;
98      }
99  
100     /**
101      * Sets the value of the queueOrTopicName property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link String }
106      *     
107      */
108     public void setQueueOrTopicName(String value) {
109         this.queueOrTopicName = value;
110     }
111 
112     public boolean isSetQueueOrTopicName() {
113         return (this.queueOrTopicName!= null);
114     }
115 
116     /**
117      * Gets the value of the queueOrTopicCanonicalName property.
118      * 
119      * @return
120      *     possible object is
121      *     {@link String }
122      *     
123      */
124     public String getQueueOrTopicCanonicalName() {
125         return queueOrTopicCanonicalName;
126     }
127 
128     /**
129      * Sets the value of the queueOrTopicCanonicalName property.
130      * 
131      * @param value
132      *     allowed object is
133      *     {@link String }
134      *     
135      */
136     public void setQueueOrTopicCanonicalName(String value) {
137         this.queueOrTopicCanonicalName = value;
138     }
139 
140     public boolean isSetQueueOrTopicCanonicalName() {
141         return (this.queueOrTopicCanonicalName!= null);
142     }
143 
144     /**
145      * Gets the value of the messagesIn property.
146      * 
147      */
148     public long getMessagesIn() {
149         return messagesIn;
150     }
151 
152     /**
153      * Sets the value of the messagesIn property.
154      * 
155      */
156     public void setMessagesIn(long value) {
157         this.messagesIn = value;
158     }
159 
160     public boolean isSetMessagesIn() {
161         return true;
162     }
163 
164     /**
165      * Gets the value of the messagesOut property.
166      * 
167      */
168     public long getMessagesOut() {
169         return messagesOut;
170     }
171 
172     /**
173      * Sets the value of the messagesOut property.
174      * 
175      */
176     public void setMessagesOut(long value) {
177         this.messagesOut = value;
178     }
179 
180     public boolean isSetMessagesOut() {
181         return true;
182     }
183 
184     /**
185      * Gets the value of the messagesDropped property.
186      * 
187      */
188     public long getMessagesDropped() {
189         return messagesDropped;
190     }
191 
192     /**
193      * Sets the value of the messagesDropped property.
194      * 
195      */
196     public void setMessagesDropped(long value) {
197         this.messagesDropped = value;
198     }
199 
200     public boolean isSetMessagesDropped() {
201         return true;
202     }
203 
204     /**
205      * Gets the value of the activeConsumers property.
206      * 
207      */
208     public long getActiveConsumers() {
209         return activeConsumers;
210     }
211 
212     /**
213      * Sets the value of the activeConsumers property.
214      * 
215      */
216     public void setActiveConsumers(long value) {
217         this.activeConsumers = value;
218     }
219 
220     public boolean isSetActiveConsumers() {
221         return true;
222     }
223 
224     /**
225      * Gets the value of the totalConsumers property.
226      * 
227      */
228     public long getTotalConsumers() {
229         return totalConsumers;
230     }
231 
232     /**
233      * Sets the value of the totalConsumers property.
234      * 
235      */
236     public void setTotalConsumers(long value) {
237         this.totalConsumers = value;
238     }
239 
240     public boolean isSetTotalConsumers() {
241         return true;
242     }
243 
244     /**
245      * Gets the value of the bytesIn property.
246      * 
247      */
248     public long getBytesIn() {
249         return bytesIn;
250     }
251 
252     /**
253      * Sets the value of the bytesIn property.
254      * 
255      */
256     public void setBytesIn(long value) {
257         this.bytesIn = value;
258     }
259 
260     public boolean isSetBytesIn() {
261         return true;
262     }
263 
264     /**
265      * Gets the value of the bytesOut property.
266      * 
267      */
268     public long getBytesOut() {
269         return bytesOut;
270     }
271 
272     /**
273      * Sets the value of the bytesOut property.
274      * 
275      */
276     public void setBytesOut(long value) {
277         this.bytesOut = value;
278     }
279 
280     public boolean isSetBytesOut() {
281         return true;
282     }
283 
284     /**
285      * Gets the value of the bytesDropped property.
286      * 
287      */
288     public long getBytesDropped() {
289         return bytesDropped;
290     }
291 
292     /**
293      * Sets the value of the bytesDropped property.
294      * 
295      */
296     public void setBytesDropped(long value) {
297         this.bytesDropped = value;
298     }
299 
300     public boolean isSetBytesDropped() {
301         return true;
302     }
303 
304     /**
305      * Gets the value of the depth property.
306      * 
307      */
308     public long getDepth() {
309         return depth;
310     }
311 
312     /**
313      * Sets the value of the depth property.
314      * 
315      */
316     public void setDepth(long value) {
317         this.depth = value;
318     }
319 
320     public boolean isSetDepth() {
321         return true;
322     }
323 
324     /**
325      * Gets the value of the itemType property.
326      * 
327      * @return
328      *     possible object is
329      *     {@link String }
330      *     
331      */
332     public String getItemType() {
333         return itemType;
334     }
335 
336     /**
337      * Sets the value of the itemType property.
338      * 
339      * @param value
340      *     allowed object is
341      *     {@link String }
342      *     
343      */
344     public void setItemType(String value) {
345         this.itemType = value;
346     }
347 
348     public boolean isSetItemType() {
349         return (this.itemType!= null);
350     }
351 
352 }