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.XmlRootElement;
11 import javax.xml.bind.annotation.XmlSchemaType;
12 import javax.xml.bind.annotation.XmlType;
13 import java.util.Calendar;
14 import org.miloss.fgsms.services.interfaces.common.Header;
15 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58 @XmlAccessorType(XmlAccessType.FIELD)
59 @XmlType(name = "AddDataRequestMsg", propOrder = {
60 "classification",
61 "action",
62 "message",
63 "transactionID",
64 "relatedTransactionID",
65 "transactionThreadID",
66 "identity",
67 "serviceHost",
68 "success",
69 "uri",
70 "requestURI",
71 "xmlRequest",
72 "xmlResponse",
73 "requestSize",
74 "responseSize",
75 "responseTime",
76 "agentType",
77 "recordedat",
78 "headersRequest",
79 "headersResponse"
80 })
81 @XmlRootElement
82 public class AddDataRequestMsg
83 implements Serializable
84 {
85
86 private final static long serialVersionUID = 1L;
87 @XmlElement(required = true, nillable = true)
88 protected SecurityWrapper classification;
89 @XmlElement(name = "Action", required = true, nillable = true)
90 protected String action;
91 @XmlElement(name = "Message", required = true, nillable = true)
92 protected String message;
93 @XmlElement(name = "TransactionID", required = true, nillable = true)
94 protected String transactionID;
95 @XmlElement(name = "RelatedTransactionID", required = true, nillable = true)
96 protected String relatedTransactionID;
97 @XmlElement(name = "TransactionThreadID", required = true, nillable = true)
98 protected String transactionThreadID;
99 @XmlElement(name = "Identity", required = false, nillable = true)
100 protected List<String> identity;
101 @XmlElement(name = "ServiceHost", required = true, nillable = true)
102 protected String serviceHost;
103 @XmlElement(name = "Success")
104 protected boolean success;
105 @XmlElement(name = "URI", required = true, nillable = true)
106 protected String uri;
107 @XmlElement(name = "RequestURI", required = true, nillable = true)
108 protected String requestURI;
109 @XmlElement(name = "XmlRequest", required = false, nillable = true)
110 protected String xmlRequest;
111 @XmlElement(name = "XmlResponse", required = false, nillable = true)
112 protected String xmlResponse;
113 protected int requestSize;
114 protected int responseSize;
115 protected int responseTime;
116 @XmlElement(required = true, nillable = true)
117 protected String agentType;
118 @XmlElement(required = true)
119 @XmlSchemaType(name = "dateTime")
120 protected Calendar recordedat;
121 protected List<Header> headersRequest;
122 protected List<Header> headersResponse;
123
124
125
126
127
128
129
130
131
132 public SecurityWrapper getClassification() {
133 return classification;
134 }
135
136
137
138
139
140
141
142
143
144 public void setClassification(SecurityWrapper value) {
145 this.classification = value;
146 }
147
148 public boolean isSetClassification() {
149 return (this.classification!= null);
150 }
151
152
153
154
155
156
157
158
159
160 public String getAction() {
161 return action;
162 }
163
164
165
166
167
168
169
170
171
172 public void setAction(String value) {
173 this.action = value;
174 }
175
176 public boolean isSetAction() {
177 return (this.action!= null);
178 }
179
180
181
182
183
184
185
186
187
188 public String getMessage() {
189 return message;
190 }
191
192
193
194
195
196
197
198
199
200 public void setMessage(String value) {
201 this.message = value;
202 }
203
204 public boolean isSetMessage() {
205 return (this.message!= null);
206 }
207
208
209
210
211
212
213
214
215
216 public String getTransactionID() {
217 return transactionID;
218 }
219
220
221
222
223
224
225
226
227
228 public void setTransactionID(String value) {
229 this.transactionID = value;
230 }
231
232 public boolean isSetTransactionID() {
233 return (this.transactionID!= null);
234 }
235
236
237
238
239
240
241
242
243
244 public String getRelatedTransactionID() {
245 return relatedTransactionID;
246 }
247
248
249
250
251
252
253
254
255
256 public void setRelatedTransactionID(String value) {
257 this.relatedTransactionID = value;
258 }
259
260 public boolean isSetRelatedTransactionID() {
261 return (this.relatedTransactionID!= null);
262 }
263
264
265
266
267
268
269
270
271
272 public String getTransactionThreadID() {
273 return transactionThreadID;
274 }
275
276
277
278
279
280
281
282
283
284 public void setTransactionThreadID(String value) {
285 this.transactionThreadID = value;
286 }
287
288 public boolean isSetTransactionThreadID() {
289 return (this.transactionThreadID!= null);
290 }
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314 public List<String> getIdentity() {
315 if (identity == null) {
316 identity = new ArrayList<String>();
317 }
318 return this.identity;
319 }
320
321 public boolean isSetIdentity() {
322 return ((this.identity!= null)&&(!this.identity.isEmpty()));
323 }
324
325 public void unsetIdentity() {
326 this.identity = null;
327 }
328
329
330
331
332
333
334
335
336
337 public String getServiceHost() {
338 return serviceHost;
339 }
340
341
342
343
344
345
346
347
348
349 public void setServiceHost(String value) {
350 this.serviceHost = value;
351 }
352
353 public boolean isSetServiceHost() {
354 return (this.serviceHost!= null);
355 }
356
357
358
359
360
361 public boolean isSuccess() {
362 return success;
363 }
364
365
366
367
368
369 public void setSuccess(boolean value) {
370 this.success = value;
371 }
372
373 public boolean isSetSuccess() {
374 return true;
375 }
376
377
378
379
380
381
382
383
384
385 public String getURI() {
386 return uri;
387 }
388
389
390
391
392
393
394
395
396
397 public void setURI(String value) {
398 this.uri = value;
399 }
400
401 public boolean isSetURI() {
402 return (this.uri!= null);
403 }
404
405
406
407
408
409
410
411
412
413 public String getRequestURI() {
414 return requestURI;
415 }
416
417
418
419
420
421
422
423
424
425 public void setRequestURI(String value) {
426 this.requestURI = value;
427 }
428
429 public boolean isSetRequestURI() {
430 return (this.requestURI!= null);
431 }
432
433
434
435
436
437
438
439
440
441 public String getXmlRequest() {
442 return xmlRequest;
443 }
444
445
446
447
448
449
450
451
452
453 public void setXmlRequest(String value) {
454 this.xmlRequest = value;
455 }
456
457 public boolean isSetXmlRequest() {
458 return (this.xmlRequest!= null);
459 }
460
461
462
463
464
465
466
467
468
469 public String getXmlResponse() {
470 return xmlResponse;
471 }
472
473
474
475
476
477
478
479
480
481 public void setXmlResponse(String value) {
482 this.xmlResponse = value;
483 }
484
485 public boolean isSetXmlResponse() {
486 return (this.xmlResponse!= null);
487 }
488
489
490
491
492
493 public int getRequestSize() {
494 return requestSize;
495 }
496
497
498
499
500
501 public void setRequestSize(int value) {
502 this.requestSize = value;
503 }
504
505 public boolean isSetRequestSize() {
506 return true;
507 }
508
509
510
511
512
513 public int getResponseSize() {
514 return responseSize;
515 }
516
517
518
519
520
521 public void setResponseSize(int value) {
522 this.responseSize = value;
523 }
524
525 public boolean isSetResponseSize() {
526 return true;
527 }
528
529
530
531
532
533 public int getResponseTime() {
534 return responseTime;
535 }
536
537
538
539
540
541 public void setResponseTime(int value) {
542 this.responseTime = value;
543 }
544
545 public boolean isSetResponseTime() {
546 return true;
547 }
548
549
550
551
552
553
554
555
556
557 public String getAgentType() {
558 return agentType;
559 }
560
561
562
563
564
565
566
567
568
569 public void setAgentType(String value) {
570 this.agentType = value;
571 }
572
573 public boolean isSetAgentType() {
574 return (this.agentType!= null);
575 }
576
577
578
579
580
581
582
583
584
585 public Calendar getRecordedat() {
586 return recordedat;
587 }
588
589
590
591
592
593
594
595
596
597 public void setRecordedat(Calendar value) {
598 this.recordedat = value;
599 }
600
601 public boolean isSetRecordedat() {
602 return (this.recordedat!= null);
603 }
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627 public List<Header> getHeadersRequest() {
628 if (headersRequest == null) {
629 headersRequest = new ArrayList<Header>();
630 }
631 return this.headersRequest;
632 }
633
634 public boolean isSetHeadersRequest() {
635 return ((this.headersRequest!= null)&&(!this.headersRequest.isEmpty()));
636 }
637
638 public void unsetHeadersRequest() {
639 this.headersRequest = null;
640 }
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664 public List<Header> getHeadersResponse() {
665 if (headersResponse == null) {
666 headersResponse = new ArrayList<Header>();
667 }
668 return this.headersResponse;
669 }
670
671 public boolean isSetHeadersResponse() {
672 return ((this.headersResponse!= null)&&(!this.headersResponse.isEmpty()));
673 }
674
675 public void unsetHeadersResponse() {
676 this.headersResponse = null;
677 }
678
679 }