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 * request message
16 *
17 * <p>Java class for AddStatisticalDataRequestMsg complex type.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.
20 *
21 * <pre>
22 * <complexType name="AddStatisticalDataRequestMsg">
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element name="data" type="{urn:org:miloss:fgsms:services:interfaces:dataCollector}BrokerData" maxOccurs="unbounded"/>
27 * <element name="BrokerURI" type="{http://www.w3.org/2001/XMLSchema}string"/>
28 * <element name="BrokerHostname" type="{http://www.w3.org/2001/XMLSchema}string"/>
29 * <element name="Domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
30 * <element name="OperationalStatus" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
31 * <element name="OperationalStatusMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
32 * <element name="AgentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
33 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
34 * </sequence>
35 * </restriction>
36 * </complexContent>
37 * </complexType>
38 * </pre>
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 * Gets the value of the data property.
77 *
78 * <p>
79 * This accessor method returns a reference to the live list,
80 * not a snapshot. Therefore any modification you make to the
81 * returned list will be present inside the JAXB object.
82 * This is why there is not a <CODE>set</CODE> method for the data property.
83 *
84 * <p>
85 * For example, to add a new item, do as follows:
86 * <pre>
87 * getData().add(newItem);
88 * </pre>
89 *
90 *
91 * <p>
92 * Objects of the following type(s) are allowed in the list
93 * {@link BrokerData }
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 * Gets the value of the brokerURI property.
114 *
115 * @return
116 * possible object is
117 * {@link String }
118 *
119 */
120 public String getBrokerURI() {
121 return brokerURI;
122 }
123
124 /**
125 * Sets the value of the brokerURI property.
126 *
127 * @param value
128 * allowed object is
129 * {@link String }
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 * Gets the value of the brokerHostname property.
142 *
143 * @return
144 * possible object is
145 * {@link String }
146 *
147 */
148 public String getBrokerHostname() {
149 return brokerHostname;
150 }
151
152 /**
153 * Sets the value of the brokerHostname property.
154 *
155 * @param value
156 * allowed object is
157 * {@link String }
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 * Gets the value of the domain property.
170 *
171 * @return
172 * possible object is
173 * {@link String }
174 *
175 */
176 public String getDomain() {
177 return domain;
178 }
179
180 /**
181 * Sets the value of the domain property.
182 *
183 * @param value
184 * allowed object is
185 * {@link String }
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 * Gets the value of the operationalStatus property.
198 *
199 */
200 public boolean isOperationalStatus() {
201 return operationalStatus;
202 }
203
204 /**
205 * Sets the value of the operationalStatus property.
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 * Gets the value of the operationalStatusMessage property.
218 *
219 * @return
220 * possible object is
221 * {@link String }
222 *
223 */
224 public String getOperationalStatusMessage() {
225 return operationalStatusMessage;
226 }
227
228 /**
229 * Sets the value of the operationalStatusMessage property.
230 *
231 * @param value
232 * allowed object is
233 * {@link String }
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 * Gets the value of the agentType property.
246 *
247 * @return
248 * possible object is
249 * {@link String }
250 *
251 */
252 public String getAgentType() {
253 return agentType;
254 }
255
256 /**
257 * Sets the value of the agentType property.
258 *
259 * @param value
260 * allowed object is
261 * {@link String }
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 * Gets the value of the classification property.
274 *
275 * @return
276 * possible object is
277 * {@link SecurityWrapper }
278 *
279 */
280 public SecurityWrapper getClassification() {
281 return classification;
282 }
283
284 /**
285 * Sets the value of the classification property.
286 *
287 * @param value
288 * allowed object is
289 * {@link SecurityWrapper }
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 }