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
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 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "driveInformation", propOrder = {
46 "operational",
47 "partition",
48 "systemid",
49 "id",
50 "totalspace",
51 "freespace",
52 "type",
53 "timestamp",
54 "kilobytespersecondDiskRead",
55 "kilobytespersecondDiskWrite",
56 "operationalstatus"
57 })
58 public class DriveInformation
59 implements Serializable
60 {
61
62 private final static long serialVersionUID = 1L;
63 protected boolean operational;
64 @XmlElement(required = true)
65 protected String partition;
66 @XmlElement(required = false)
67 protected String systemid;
68 @XmlElement(required = false, nillable = true)
69 protected String id;
70 @XmlElement(required = false, type = Long.class, nillable = true)
71 protected Long totalspace;
72 @XmlElement(required = false, type = Long.class, nillable = true)
73 protected Long freespace;
74 @XmlElement(required = false)
75 protected String type;
76 @XmlElement(required = false, nillable = true)
77 @XmlSchemaType(name = "dateTime")
78 protected Calendar timestamp;
79 @XmlElement(required = false, type = Long.class, nillable = true)
80 protected Long kilobytespersecondDiskRead;
81 @XmlElement(required = false, type = Long.class, nillable = true)
82 protected Long kilobytespersecondDiskWrite;
83 @XmlElement(required = false, nillable = true)
84 protected String operationalstatus;
85
86
87
88
89
90 public boolean isOperational() {
91 return operational;
92 }
93
94
95
96
97
98 public void setOperational(boolean value) {
99 this.operational = value;
100 }
101
102
103
104
105
106
107
108
109
110 public String getPartition() {
111 return partition;
112 }
113
114
115
116
117
118
119
120
121
122 public void setPartition(String value) {
123 this.partition = value;
124 }
125
126
127
128
129
130
131
132
133
134 public String getSystemid() {
135 return systemid;
136 }
137
138
139
140
141
142
143
144
145
146 public void setSystemid(String value) {
147 this.systemid = value;
148 }
149
150
151
152
153
154
155
156
157
158 public String getId() {
159 return id;
160 }
161
162
163
164
165
166
167
168
169
170 public void setId(String value) {
171 this.id = value;
172 }
173
174
175
176
177
178
179
180
181
182 public Long getTotalspace() {
183 return totalspace;
184 }
185
186
187
188
189
190
191
192
193
194 public void setTotalspace(Long value) {
195 this.totalspace = value;
196 }
197
198
199
200
201
202
203
204
205
206 public Long getFreespace() {
207 return freespace;
208 }
209
210
211
212
213
214
215
216
217
218 public void setFreespace(Long value) {
219 this.freespace = value;
220 }
221
222
223
224
225
226
227
228
229
230 public String getType() {
231 return type;
232 }
233
234
235
236
237
238
239
240
241
242 public void setType(String value) {
243 this.type = value;
244 }
245
246
247
248
249
250
251
252
253
254 public Calendar getTimestamp() {
255 return timestamp;
256 }
257
258
259
260
261
262
263
264
265
266 public void setTimestamp(Calendar value) {
267 this.timestamp = value;
268 }
269
270
271
272
273
274
275
276
277
278 public Long getKilobytespersecondDiskRead() {
279 return kilobytespersecondDiskRead;
280 }
281
282
283
284
285
286
287
288
289
290 public void setKilobytespersecondDiskRead(Long value) {
291 this.kilobytespersecondDiskRead = value;
292 }
293
294
295
296
297
298
299
300
301
302 public Long getKilobytespersecondDiskWrite() {
303 return kilobytespersecondDiskWrite;
304 }
305
306
307
308
309
310
311
312
313
314 public void setKilobytespersecondDiskWrite(Long value) {
315 this.kilobytespersecondDiskWrite = value;
316 }
317
318
319
320
321
322
323
324
325
326 public String getOperationalstatus() {
327 return operationalstatus;
328 }
329
330
331
332
333
334
335
336
337
338 public void setOperationalstatus(String value) {
339 this.operationalstatus = value;
340 }
341
342 }