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.SecurityWrapper;
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 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "AddStatisticalDataRequestMsg", propOrder = {
44 "data",
45 "brokerURI",
46 "brokerHostname",
47 "domain",
48 "operationalStatus",
49 "operationalStatusMessage",
50 "agentType",
51 "classification"
52 })
53 public class AddStatisticalDataRequestMsg
54 implements Serializable
55 {
56
57 private final static long serialVersionUID = 1L;
58 @XmlElement(required = true)
59 protected List<BrokerData> data;
60 @XmlElement(name = "BrokerURI", required = true)
61 protected String brokerURI;
62 @XmlElement(name = "BrokerHostname", required = true)
63 protected String brokerHostname;
64 @XmlElement(name = "Domain", required = true)
65 protected String domain;
66 @XmlElement(name = "OperationalStatus")
67 protected boolean operationalStatus;
68 @XmlElement(name = "OperationalStatusMessage", required = true)
69 protected String operationalStatusMessage;
70 @XmlElement(name = "AgentType", required = true)
71 protected String agentType;
72 @XmlElement(required = true, nillable = true)
73 protected SecurityWrapper classification;
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97 public List<BrokerData> getData() {
98 if (data == null) {
99 data = new ArrayList<BrokerData>();
100 }
101 return this.data;
102 }
103
104 public boolean isSetData() {
105 return ((this.data!= null)&&(!this.data.isEmpty()));
106 }
107
108 public void unsetData() {
109 this.data = null;
110 }
111
112
113
114
115
116
117
118
119
120 public String getBrokerURI() {
121 return brokerURI;
122 }
123
124
125
126
127
128
129
130
131
132 public void setBrokerURI(String value) {
133 this.brokerURI = value;
134 }
135
136 public boolean isSetBrokerURI() {
137 return (this.brokerURI!= null);
138 }
139
140
141
142
143
144
145
146
147
148 public String getBrokerHostname() {
149 return brokerHostname;
150 }
151
152
153
154
155
156
157
158
159
160 public void setBrokerHostname(String value) {
161 this.brokerHostname = value;
162 }
163
164 public boolean isSetBrokerHostname() {
165 return (this.brokerHostname!= null);
166 }
167
168
169
170
171
172
173
174
175
176 public String getDomain() {
177 return domain;
178 }
179
180
181
182
183
184
185
186
187
188 public void setDomain(String value) {
189 this.domain = value;
190 }
191
192 public boolean isSetDomain() {
193 return (this.domain!= null);
194 }
195
196
197
198
199
200 public boolean isOperationalStatus() {
201 return operationalStatus;
202 }
203
204
205
206
207
208 public void setOperationalStatus(boolean value) {
209 this.operationalStatus = value;
210 }
211
212 public boolean isSetOperationalStatus() {
213 return true;
214 }
215
216
217
218
219
220
221
222
223
224 public String getOperationalStatusMessage() {
225 return operationalStatusMessage;
226 }
227
228
229
230
231
232
233
234
235
236 public void setOperationalStatusMessage(String value) {
237 this.operationalStatusMessage = value;
238 }
239
240 public boolean isSetOperationalStatusMessage() {
241 return (this.operationalStatusMessage!= null);
242 }
243
244
245
246
247
248
249
250
251
252 public String getAgentType() {
253 return agentType;
254 }
255
256
257
258
259
260
261
262
263
264 public void setAgentType(String value) {
265 this.agentType = value;
266 }
267
268 public boolean isSetAgentType() {
269 return (this.agentType!= null);
270 }
271
272
273
274
275
276
277
278
279
280 public SecurityWrapper getClassification() {
281 return classification;
282 }
283
284
285
286
287
288
289
290
291
292 public void setClassification(SecurityWrapper value) {
293 this.classification = value;
294 }
295
296 public boolean isSetClassification() {
297 return (this.classification!= null);
298 }
299
300 }