View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.common;
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   * <p>Java class for ProcessPerformanceData complex type.
15   * 
16   * <p>The following schema fragment specifies the expected content contained within this class.
17   * 
18   * <pre>
19   * &lt;complexType name="ProcessPerformanceData">
20   *   &lt;complexContent>
21   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22   *       &lt;sequence>
23   *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="uri" type="{http://www.w3.org/2001/XMLSchema}string"/>
25   *         &lt;element name="operationalstatus" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
26   *         &lt;element name="statusmessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
27   *         &lt;element name="bytesusedMemory" type="{http://www.w3.org/2001/XMLSchema}long"/>
28   *         &lt;element name="percentusedCPU" type="{http://www.w3.org/2001/XMLSchema}double"/>
29   *         &lt;element name="numberofActiveThreads" type="{http://www.w3.org/2001/XMLSchema}long"/>
30   *         &lt;element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
31   *         &lt;element name="startedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
32   *         &lt;element name="openFileHandles" type="{http://www.w3.org/2001/XMLSchema}long"/>
33   *       &lt;/sequence>
34   *     &lt;/restriction>
35   *   &lt;/complexContent>
36   * &lt;/complexType>
37   * </pre>
38   * 
39   * 
40   */
41  @XmlAccessorType(XmlAccessType.FIELD)
42  @XmlType(name = "ProcessPerformanceData", propOrder = {
43      "id",
44      "uri",
45      "operationalstatus",
46      "statusmessage",
47      "bytesusedMemory",
48      "percentusedCPU",
49      "numberofActiveThreads",
50      "timestamp",
51      "startedAt",
52      "openFileHandles"
53  })
54  public class ProcessPerformanceData
55      implements Serializable
56  {
57  
58      private final static long serialVersionUID = 1L;
59      @XmlElement(required = true, nillable = true)
60      protected String id;
61      @XmlElement(required = true)
62      protected String uri;
63      protected boolean operationalstatus;
64      @XmlElement(required = false)
65      protected String statusmessage;
66      @XmlElement(required = false, type = Long.class, nillable = true)
67      protected Long bytesusedMemory;
68      @XmlElement(required = false, type = Double.class, nillable = true)
69      protected Double percentusedCPU;
70      @XmlElement(required = false, type = Long.class, nillable = true)
71      protected Long numberofActiveThreads;
72      @XmlElement(required = false)
73      @XmlSchemaType(name = "dateTime")
74      protected Calendar timestamp;
75      @XmlElement(required = false)
76      @XmlSchemaType(name = "dateTime")
77      protected Calendar startedAt;
78      protected long openFileHandles;
79  
80      /**
81       * Gets the value of the id property.
82       * 
83       * @return
84       *     possible object is
85       *     {@link String }
86       *     
87       */
88      public String getId() {
89          return id;
90      }
91  
92      /**
93       * Sets the value of the id property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link String }
98       *     
99       */
100     public void setId(String value) {
101         this.id = value;
102     }
103 
104     /**
105      * Gets the value of the uri property.
106      * 
107      * @return
108      *     possible object is
109      *     {@link String }
110      *     
111      */
112     public String getUri() {
113         return uri;
114     }
115 
116     /**
117      * Sets the value of the uri property.
118      * 
119      * @param value
120      *     allowed object is
121      *     {@link String }
122      *     
123      */
124     public void setUri(String value) {
125         this.uri = value;
126     }
127 
128     /**
129      * Gets the value of the operationalstatus property.
130      * 
131      */
132     public boolean isOperationalstatus() {
133         return operationalstatus;
134     }
135 
136     /**
137      * Sets the value of the operationalstatus property.
138      * 
139      */
140     public void setOperationalstatus(boolean value) {
141         this.operationalstatus = value;
142     }
143 
144     /**
145      * Gets the value of the statusmessage property.
146      * 
147      * @return
148      *     possible object is
149      *     {@link String }
150      *     
151      */
152     public String getStatusmessage() {
153         return statusmessage;
154     }
155 
156     /**
157      * Sets the value of the statusmessage property.
158      * 
159      * @param value
160      *     allowed object is
161      *     {@link String }
162      *     
163      */
164     public void setStatusmessage(String value) {
165         this.statusmessage = value;
166     }
167 
168     /**
169      * Gets the value of the bytesusedMemory property.
170      * 
171      * @return
172      *     possible object is
173      *     {@link Long }
174      *     
175      */
176     public Long getBytesusedMemory() {
177         return bytesusedMemory;
178     }
179 
180     /**
181      * Sets the value of the bytesusedMemory property.
182      * 
183      * @param value
184      *     allowed object is
185      *     {@link Long }
186      *     
187      */
188     public void setBytesusedMemory(Long value) {
189         this.bytesusedMemory = value;
190     }
191 
192     /**
193      * Gets the value of the percentusedCPU property.
194      * 
195      * @return
196      *     possible object is
197      *     {@link Double }
198      *     
199      */
200     public Double getPercentusedCPU() {
201         return percentusedCPU;
202     }
203 
204     /**
205      * Sets the value of the percentusedCPU property.
206      * 
207      * @param value
208      *     allowed object is
209      *     {@link Double }
210      *     
211      */
212     public void setPercentusedCPU(Double value) {
213         this.percentusedCPU = value;
214     }
215 
216     /**
217      * Gets the value of the numberofActiveThreads property.
218      * 
219      * @return
220      *     possible object is
221      *     {@link Long }
222      *     
223      */
224     public Long getNumberofActiveThreads() {
225         return numberofActiveThreads;
226     }
227 
228     /**
229      * Sets the value of the numberofActiveThreads property.
230      * 
231      * @param value
232      *     allowed object is
233      *     {@link Long }
234      *     
235      */
236     public void setNumberofActiveThreads(Long value) {
237         this.numberofActiveThreads = value;
238     }
239 
240     /**
241      * Gets the value of the timestamp property.
242      * 
243      * @return
244      *     possible object is
245      *     {@link Calendar }
246      *     
247      */
248     public Calendar getTimestamp() {
249         return timestamp;
250     }
251 
252     /**
253      * Sets the value of the timestamp property.
254      * 
255      * @param value
256      *     allowed object is
257      *     {@link Calendar }
258      *     
259      */
260     public void setTimestamp(Calendar value) {
261         this.timestamp = value;
262     }
263 
264     /**
265      * Gets the value of the startedAt property.
266      * 
267      * @return
268      *     possible object is
269      *     {@link Calendar }
270      *     
271      */
272     public Calendar getStartedAt() {
273         return startedAt;
274     }
275 
276     /**
277      * Sets the value of the startedAt property.
278      * 
279      * @param value
280      *     allowed object is
281      *     {@link Calendar }
282      *     
283      */
284     public void setStartedAt(Calendar value) {
285         this.startedAt = value;
286     }
287 
288     /**
289      * Gets the value of the openFileHandles property.
290      * 
291      */
292     public long getOpenFileHandles() {
293         return openFileHandles;
294     }
295 
296     /**
297      * Sets the value of the openFileHandles property.
298      * 
299      */
300     public void setOpenFileHandles(long value) {
301         this.openFileHandles = value;
302     }
303 
304 }