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   * information about a specific drive or partition
15   * 
16   * <p>Java class for driveInformation complex type.
17   * 
18   * <p>The following schema fragment specifies the expected content contained within this class.
19   * 
20   * <pre>
21   * &lt;complexType name="driveInformation">
22   *   &lt;complexContent>
23   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24   *       &lt;sequence>
25   *         &lt;element name="operational" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
26   *         &lt;element name="partition" type="{http://www.w3.org/2001/XMLSchema}string"/>
27   *         &lt;element name="systemid" type="{http://www.w3.org/2001/XMLSchema}string"/>
28   *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
29   *         &lt;element name="totalspace" type="{http://www.w3.org/2001/XMLSchema}long"/>
30   *         &lt;element name="freespace" type="{http://www.w3.org/2001/XMLSchema}long"/>
31   *         &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
32   *         &lt;element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
33   *         &lt;element name="kilobytespersecondDiskRead" type="{http://www.w3.org/2001/XMLSchema}long"/>
34   *         &lt;element name="kilobytespersecondDiskWrite" type="{http://www.w3.org/2001/XMLSchema}long"/>
35   *         &lt;element name="operationalstatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
36   *       &lt;/sequence>
37   *     &lt;/restriction>
38   *   &lt;/complexContent>
39   * &lt;/complexType>
40   * </pre>
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       * Gets the value of the operational property.
88       * 
89       */
90      public boolean isOperational() {
91          return operational;
92      }
93  
94      /**
95       * Sets the value of the operational property.
96       * 
97       */
98      public void setOperational(boolean value) {
99          this.operational = value;
100     }
101 
102     /**
103      * Gets the value of the partition property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link String }
108      *     
109      */
110     public String getPartition() {
111         return partition;
112     }
113 
114     /**
115      * Sets the value of the partition property.
116      * 
117      * @param value
118      *     allowed object is
119      *     {@link String }
120      *     
121      */
122     public void setPartition(String value) {
123         this.partition = value;
124     }
125 
126     /**
127      * Gets the value of the systemid property.
128      * 
129      * @return
130      *     possible object is
131      *     {@link String }
132      *     
133      */
134     public String getSystemid() {
135         return systemid;
136     }
137 
138     /**
139      * Sets the value of the systemid property.
140      * 
141      * @param value
142      *     allowed object is
143      *     {@link String }
144      *     
145      */
146     public void setSystemid(String value) {
147         this.systemid = value;
148     }
149 
150     /**
151      * Gets the value of the id property.
152      * 
153      * @return
154      *     possible object is
155      *     {@link String }
156      *     
157      */
158     public String getId() {
159         return id;
160     }
161 
162     /**
163      * Sets the value of the id property.
164      * 
165      * @param value
166      *     allowed object is
167      *     {@link String }
168      *     
169      */
170     public void setId(String value) {
171         this.id = value;
172     }
173 
174     /**
175      * Gets the value of the totalspace property.
176      * 
177      * @return
178      *     possible object is
179      *     {@link Long }
180      *     
181      */
182     public Long getTotalspace() {
183         return totalspace;
184     }
185 
186     /**
187      * Sets the value of the totalspace property.
188      * 
189      * @param value
190      *     allowed object is
191      *     {@link Long }
192      *     
193      */
194     public void setTotalspace(Long value) {
195         this.totalspace = value;
196     }
197 
198     /**
199      * Gets the value of the freespace property.
200      * 
201      * @return
202      *     possible object is
203      *     {@link Long }
204      *     
205      */
206     public Long getFreespace() {
207         return freespace;
208     }
209 
210     /**
211      * Sets the value of the freespace property.
212      * 
213      * @param value
214      *     allowed object is
215      *     {@link Long }
216      *     
217      */
218     public void setFreespace(Long value) {
219         this.freespace = value;
220     }
221 
222     /**
223      * Gets the value of the type property.
224      * 
225      * @return
226      *     possible object is
227      *     {@link String }
228      *     
229      */
230     public String getType() {
231         return type;
232     }
233 
234     /**
235      * Sets the value of the type property.
236      * 
237      * @param value
238      *     allowed object is
239      *     {@link String }
240      *     
241      */
242     public void setType(String value) {
243         this.type = value;
244     }
245 
246     /**
247      * Gets the value of the timestamp property.
248      * 
249      * @return
250      *     possible object is
251      *     {@link Calendar }
252      *     
253      */
254     public Calendar getTimestamp() {
255         return timestamp;
256     }
257 
258     /**
259      * Sets the value of the timestamp property.
260      * 
261      * @param value
262      *     allowed object is
263      *     {@link Calendar }
264      *     
265      */
266     public void setTimestamp(Calendar value) {
267         this.timestamp = value;
268     }
269 
270     /**
271      * Gets the value of the kilobytespersecondDiskRead property.
272      * 
273      * @return
274      *     possible object is
275      *     {@link Long }
276      *     
277      */
278     public Long getKilobytespersecondDiskRead() {
279         return kilobytespersecondDiskRead;
280     }
281 
282     /**
283      * Sets the value of the kilobytespersecondDiskRead property.
284      * 
285      * @param value
286      *     allowed object is
287      *     {@link Long }
288      *     
289      */
290     public void setKilobytespersecondDiskRead(Long value) {
291         this.kilobytespersecondDiskRead = value;
292     }
293 
294     /**
295      * Gets the value of the kilobytespersecondDiskWrite property.
296      * 
297      * @return
298      *     possible object is
299      *     {@link Long }
300      *     
301      */
302     public Long getKilobytespersecondDiskWrite() {
303         return kilobytespersecondDiskWrite;
304     }
305 
306     /**
307      * Sets the value of the kilobytespersecondDiskWrite property.
308      * 
309      * @param value
310      *     allowed object is
311      *     {@link Long }
312      *     
313      */
314     public void setKilobytespersecondDiskWrite(Long value) {
315         this.kilobytespersecondDiskWrite = value;
316     }
317 
318     /**
319      * Gets the value of the operationalstatus property.
320      * 
321      * @return
322      *     possible object is
323      *     {@link String }
324      *     
325      */
326     public String getOperationalstatus() {
327         return operationalstatus;
328     }
329 
330     /**
331      * Sets the value of the operationalstatus property.
332      * 
333      * @param value
334      *     allowed object is
335      *     {@link String }
336      *     
337      */
338     public void setOperationalstatus(String value) {
339         this.operationalstatus = value;
340     }
341 
342 }