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
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 = "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
76
77
78
79
80
81
82 public SecurityWrapper getClassification() {
83 return classification;
84 }
85
86
87
88
89
90
91
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
104
105
106
107
108
109
110 public String getHostname() {
111 return hostname;
112 }
113
114
115
116
117
118
119
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
132
133
134
135
136
137
138 public String getAgentType() {
139 return agentType;
140 }
141
142
143
144
145
146
147
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
160
161
162
163
164
165
166 public String getDomainname() {
167 return domainname;
168 }
169
170
171
172
173
174
175
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
188
189
190
191
192
193
194 public MachinePerformanceData getMachineData() {
195 return machineData;
196 }
197
198
199
200
201
202
203
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
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
253
254
255
256
257
258
259 public NameValuePairSet getSensorData() {
260 return sensorData;
261 }
262
263
264
265
266
267
268
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 }