View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.dataaccessservice;
3   
4   import java.io.Serializable;
5   import java.util.ArrayList;
6   import java.util.List;
7   import javax.xml.bind.annotation.XmlAccessType;
8   import javax.xml.bind.annotation.XmlAccessorType;
9   import javax.xml.bind.annotation.XmlElement;
10  import javax.xml.bind.annotation.XmlType;
11  import org.miloss.fgsms.services.interfaces.common.MachinePerformanceData;
12  import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
13  
14  
15  /**
16   * response message
17   * 
18   * <p>Java class for GetMachinePerformanceLogsByRangeResponseMsg complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="GetMachinePerformanceLogsByRangeResponseMsg">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;sequence>
27   *         &lt;element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
28   *         &lt;element name="MachinePerformanceData" type="{urn:org:miloss:fgsms:services:interfaces:common}MachinePerformanceData" maxOccurs="unbounded" minOccurs="0"/>
29   *       &lt;/sequence>
30   *     &lt;/restriction>
31   *   &lt;/complexContent>
32   * &lt;/complexType>
33   * </pre>
34   * 
35   * 
36   */
37  @XmlAccessorType(XmlAccessType.FIELD)
38  @XmlType(name = "GetMachinePerformanceLogsByRangeResponseMsg", propOrder = {
39      "classification",
40      "machinePerformanceData"
41  })
42  public class GetMachinePerformanceLogsByRangeResponseMsg
43      implements Serializable
44  {
45  
46      private final static long serialVersionUID = 1L;
47      @XmlElement(required = true, nillable = true)
48      protected SecurityWrapper classification;
49      @XmlElement(name = "MachinePerformanceData")
50      protected List<MachinePerformanceData> machinePerformanceData;
51  
52      /**
53       * Gets the value of the classification property.
54       * 
55       * @return
56       *     possible object is
57       *     {@link SecurityWrapper }
58       *     
59       */
60      public SecurityWrapper getClassification() {
61          return classification;
62      }
63  
64      /**
65       * Sets the value of the classification property.
66       * 
67       * @param value
68       *     allowed object is
69       *     {@link SecurityWrapper }
70       *     
71       */
72      public void setClassification(SecurityWrapper value) {
73          this.classification = value;
74      }
75  
76      public boolean isSetClassification() {
77          return (this.classification!= null);
78      }
79  
80      /**
81       * Gets the value of the machinePerformanceData property.
82       * 
83       * <p>
84       * This accessor method returns a reference to the live list,
85       * not a snapshot. Therefore any modification you make to the
86       * returned list will be present inside the JAXB object.
87       * This is why there is not a <CODE>set</CODE> method for the machinePerformanceData property.
88       * 
89       * <p>
90       * For example, to add a new item, do as follows:
91       * <pre>
92       *    getMachinePerformanceData().add(newItem);
93       * </pre>
94       * 
95       * 
96       * <p>
97       * Objects of the following type(s) are allowed in the list
98       * {@link MachinePerformanceData }
99       * 
100      * 
101      */
102     public List<MachinePerformanceData> getMachinePerformanceData() {
103         if (machinePerformanceData == null) {
104             machinePerformanceData = new ArrayList<MachinePerformanceData>();
105         }
106         return this.machinePerformanceData;
107     }
108 
109     public boolean isSetMachinePerformanceData() {
110         return ((this.machinePerformanceData!= null)&&(!this.machinePerformanceData.isEmpty()));
111     }
112 
113     public void unsetMachinePerformanceData() {
114         this.machinePerformanceData = null;
115     }
116 
117 }