View Javadoc
1   
2   package org.miloss.fgsms.services.interfaces.datacollector;
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.NameValuePairSet;
13  import org.miloss.fgsms.services.interfaces.common.ProcessPerformanceData;
14  import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
15  
16  
17  /**
18   * request message
19   * 
20   * <p>Java class for AddMachineAndProcessDataRequestMsg complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="AddMachineAndProcessDataRequestMsg">
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;sequence>
29   *         &lt;element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
30   *         &lt;element name="hostname" type="{http://www.w3.org/2001/XMLSchema}string"/>
31   *         &lt;element name="agentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
32   *         &lt;element name="domainname" type="{http://www.w3.org/2001/XMLSchema}string"/>
33   *         &lt;element name="MachineData" type="{urn:org:miloss:fgsms:services:interfaces:common}MachinePerformanceData"/>
34   *         &lt;element name="ProcessData" type="{urn:org:miloss:fgsms:services:interfaces:common}ProcessPerformanceData" maxOccurs="unbounded"/>
35   *         &lt;element name="SensorData" type="{urn:org:miloss:fgsms:services:interfaces:common}NameValuePairSet"/>
36   *       &lt;/sequence>
37   *     &lt;/restriction>
38   *   &lt;/complexContent>
39   * &lt;/complexType>
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "AddMachineAndProcessDataRequestMsg", propOrder = {
46      "classification",
47      "hostname",
48      "agentType",
49      "domainname",
50      "machineData",
51      "processData",
52      "sensorData"
53  })
54  public class AddMachineAndProcessDataRequestMsg
55      implements Serializable
56  {
57  
58      private final static long serialVersionUID = 1L;
59      @XmlElement(required = true, nillable = true)
60      protected SecurityWrapper classification;
61      @XmlElement(required = true, nillable = true)
62      protected String hostname;
63      @XmlElement(required = true, nillable = true)
64      protected String agentType;
65      @XmlElement(required = true, nillable = true)
66      protected String domainname;
67      @XmlElement(name = "MachineData", required = false, nillable = true)
68      protected MachinePerformanceData machineData;
69      @XmlElement(name = "ProcessData", required = false, nillable = true)
70      protected List<ProcessPerformanceData> processData;
71      @XmlElement(name = "SensorData", required = false, nillable = true)
72      protected NameValuePairSet sensorData;
73  
74      /**
75       * Gets the value of the classification property.
76       * 
77       * @return
78       *     possible object is
79       *     {@link SecurityWrapper }
80       *     
81       */
82      public SecurityWrapper getClassification() {
83          return classification;
84      }
85  
86      /**
87       * Sets the value of the classification property.
88       * 
89       * @param value
90       *     allowed object is
91       *     {@link SecurityWrapper }
92       *     
93       */
94      public void setClassification(SecurityWrapper value) {
95          this.classification = value;
96      }
97  
98      public boolean isSetClassification() {
99          return (this.classification!= null);
100     }
101 
102     /**
103      * Gets the value of the hostname property.
104      * 
105      * @return
106      *     possible object is
107      *     {@link String }
108      *     
109      */
110     public String getHostname() {
111         return hostname;
112     }
113 
114     /**
115      * Sets the value of the hostname property.
116      * 
117      * @param value
118      *     allowed object is
119      *     {@link String }
120      *     
121      */
122     public void setHostname(String value) {
123         this.hostname = value;
124     }
125 
126     public boolean isSetHostname() {
127         return (this.hostname!= null);
128     }
129 
130     /**
131      * Gets the value of the agentType property.
132      * 
133      * @return
134      *     possible object is
135      *     {@link String }
136      *     
137      */
138     public String getAgentType() {
139         return agentType;
140     }
141 
142     /**
143      * Sets the value of the agentType property.
144      * 
145      * @param value
146      *     allowed object is
147      *     {@link String }
148      *     
149      */
150     public void setAgentType(String value) {
151         this.agentType = value;
152     }
153 
154     public boolean isSetAgentType() {
155         return (this.agentType!= null);
156     }
157 
158     /**
159      * Gets the value of the domainname property.
160      * 
161      * @return
162      *     possible object is
163      *     {@link String }
164      *     
165      */
166     public String getDomainname() {
167         return domainname;
168     }
169 
170     /**
171      * Sets the value of the domainname property.
172      * 
173      * @param value
174      *     allowed object is
175      *     {@link String }
176      *     
177      */
178     public void setDomainname(String value) {
179         this.domainname = value;
180     }
181 
182     public boolean isSetDomainname() {
183         return (this.domainname!= null);
184     }
185 
186     /**
187      * Gets the value of the machineData property.
188      * 
189      * @return
190      *     possible object is
191      *     {@link MachinePerformanceData }
192      *     
193      */
194     public MachinePerformanceData getMachineData() {
195         return machineData;
196     }
197 
198     /**
199      * Sets the value of the machineData property.
200      * 
201      * @param value
202      *     allowed object is
203      *     {@link MachinePerformanceData }
204      *     
205      */
206     public void setMachineData(MachinePerformanceData value) {
207         this.machineData = value;
208     }
209 
210     public boolean isSetMachineData() {
211         return (this.machineData!= null);
212     }
213 
214     /**
215      * Gets the value of the processData property.
216      * 
217      * <p>
218      * This accessor method returns a reference to the live list,
219      * not a snapshot. Therefore any modification you make to the
220      * returned list will be present inside the JAXB object.
221      * This is why there is not a <CODE>set</CODE> method for the processData property.
222      * 
223      * <p>
224      * For example, to add a new item, do as follows:
225      * <pre>
226      *    getProcessData().add(newItem);
227      * </pre>
228      * 
229      * 
230      * <p>
231      * Objects of the following type(s) are allowed in the list
232      * {@link ProcessPerformanceData }
233      * 
234      * 
235      */
236     public List<ProcessPerformanceData> getProcessData() {
237         if (processData == null) {
238             processData = new ArrayList<ProcessPerformanceData>();
239         }
240         return this.processData;
241     }
242 
243     public boolean isSetProcessData() {
244         return ((this.processData!= null)&&(!this.processData.isEmpty()));
245     }
246 
247     public void unsetProcessData() {
248         this.processData = null;
249     }
250 
251     /**
252      * Gets the value of the sensorData property.
253      * 
254      * @return
255      *     possible object is
256      *     {@link NameValuePairSet }
257      *     
258      */
259     public NameValuePairSet getSensorData() {
260         return sensorData;
261     }
262 
263     /**
264      * Sets the value of the sensorData property.
265      * 
266      * @param value
267      *     allowed object is
268      *     {@link NameValuePairSet }
269      *     
270      */
271     public void setSensorData(NameValuePairSet value) {
272         this.sensorData = value;
273     }
274 
275     public boolean isSetSensorData() {
276         return (this.sensorData!= null);
277     }
278 
279 }