1
2 package org.miloss.fgsms.services.interfaces.dataaccessservice;
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.XmlSchemaType;
11 import javax.xml.bind.annotation.XmlType;
12 import java.util.Calendar;
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
43
44
45
46
47
48
49
50
51
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "TransactionLog", propOrder = {
54 "action",
55 "url",
56 "identity",
57 "isFault",
58 "isSLAFault",
59 "slaFaultMsg",
60 "monitorHostname",
61 "responseTime",
62 "serviceHostname",
63 "hasRequestMessage",
64 "hasResponseMessage",
65 "requestSize",
66 "responseSize",
67 "timestamp",
68 "transactionId"
69 })
70 public class TransactionLog
71 implements Serializable
72 {
73
74 private final static long serialVersionUID = 1L;
75 @XmlElement(name = "Action", required = true, nillable = true)
76 protected String action;
77 @XmlElement(name = "URL", required = false)
78 protected String url;
79 @XmlElement(name = "Identity", required = false)
80 protected List<String> identity;
81 @XmlElement(name = "IsFault")
82 protected boolean isFault;
83 @XmlElement(name = "IsSLAFault")
84 protected boolean isSLAFault;
85 @XmlElement(required = false, nillable = true)
86 protected String slaFaultMsg;
87 @XmlElement(name = "MonitorHostname", required = false, nillable = true)
88 protected String monitorHostname;
89 @XmlElement(name = "ResponseTime")
90 protected long responseTime;
91 @XmlElement(name = "ServiceHostname", required = false, nillable = true)
92 protected String serviceHostname;
93 protected boolean hasRequestMessage;
94 protected boolean hasResponseMessage;
95 protected long requestSize;
96 protected long responseSize;
97 @XmlElement(required = false)
98 @XmlSchemaType(name = "dateTime")
99 protected Calendar timestamp;
100 @XmlElement(required = true)
101 protected String transactionId;
102
103
104
105
106
107
108
109
110
111 public String getAction() {
112 return action;
113 }
114
115
116
117
118
119
120
121
122
123 public void setAction(String value) {
124 this.action = value;
125 }
126
127 public boolean isSetAction() {
128 return (this.action!= null);
129 }
130
131
132
133
134
135
136
137
138
139 public String getURL() {
140 return url;
141 }
142
143
144
145
146
147
148
149
150
151 public void setURL(String value) {
152 this.url = value;
153 }
154
155 public boolean isSetURL() {
156 return (this.url!= null);
157 }
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181 public List<String> getIdentity() {
182 if (identity == null) {
183 identity = new ArrayList<String>();
184 }
185 return this.identity;
186 }
187
188 public boolean isSetIdentity() {
189 return ((this.identity!= null)&&(!this.identity.isEmpty()));
190 }
191
192 public void unsetIdentity() {
193 this.identity = null;
194 }
195
196
197
198
199
200 public boolean isIsFault() {
201 return isFault;
202 }
203
204
205
206
207
208 public void setIsFault(boolean value) {
209 this.isFault = value;
210 }
211
212 public boolean isSetIsFault() {
213 return true;
214 }
215
216
217
218
219
220 public boolean isIsSLAFault() {
221 return isSLAFault;
222 }
223
224
225
226
227
228 public void setIsSLAFault(boolean value) {
229 this.isSLAFault = value;
230 }
231
232 public boolean isSetIsSLAFault() {
233 return true;
234 }
235
236
237
238
239
240
241
242
243
244 public String getSlaFaultMsg() {
245 return slaFaultMsg;
246 }
247
248
249
250
251
252
253
254
255
256 public void setSlaFaultMsg(String value) {
257 this.slaFaultMsg = value;
258 }
259
260 public boolean isSetSlaFaultMsg() {
261 return (this.slaFaultMsg!= null);
262 }
263
264
265
266
267
268
269
270
271
272 public String getMonitorHostname() {
273 return monitorHostname;
274 }
275
276
277
278
279
280
281
282
283
284 public void setMonitorHostname(String value) {
285 this.monitorHostname = value;
286 }
287
288 public boolean isSetMonitorHostname() {
289 return (this.monitorHostname!= null);
290 }
291
292
293
294
295
296 public long getResponseTime() {
297 return responseTime;
298 }
299
300
301
302
303
304 public void setResponseTime(long value) {
305 this.responseTime = value;
306 }
307
308 public boolean isSetResponseTime() {
309 return true;
310 }
311
312
313
314
315
316
317
318
319
320 public String getServiceHostname() {
321 return serviceHostname;
322 }
323
324
325
326
327
328
329
330
331
332 public void setServiceHostname(String value) {
333 this.serviceHostname = value;
334 }
335
336 public boolean isSetServiceHostname() {
337 return (this.serviceHostname!= null);
338 }
339
340
341
342
343
344 public boolean isHasRequestMessage() {
345 return hasRequestMessage;
346 }
347
348
349
350
351
352 public void setHasRequestMessage(boolean value) {
353 this.hasRequestMessage = value;
354 }
355
356 public boolean isSetHasRequestMessage() {
357 return true;
358 }
359
360
361
362
363
364 public boolean isHasResponseMessage() {
365 return hasResponseMessage;
366 }
367
368
369
370
371
372 public void setHasResponseMessage(boolean value) {
373 this.hasResponseMessage = value;
374 }
375
376 public boolean isSetHasResponseMessage() {
377 return true;
378 }
379
380
381
382
383
384 public long getRequestSize() {
385 return requestSize;
386 }
387
388
389
390
391
392 public void setRequestSize(long value) {
393 this.requestSize = value;
394 }
395
396 public boolean isSetRequestSize() {
397 return true;
398 }
399
400
401
402
403
404 public long getResponseSize() {
405 return responseSize;
406 }
407
408
409
410
411
412 public void setResponseSize(long value) {
413 this.responseSize = value;
414 }
415
416 public boolean isSetResponseSize() {
417 return true;
418 }
419
420
421
422
423
424
425
426
427
428 public Calendar getTimestamp() {
429 return timestamp;
430 }
431
432
433
434
435
436
437
438
439
440 public void setTimestamp(Calendar value) {
441 this.timestamp = value;
442 }
443
444 public boolean isSetTimestamp() {
445 return (this.timestamp!= null);
446 }
447
448
449
450
451
452
453
454
455
456 public String getTransactionId() {
457 return transactionId;
458 }
459
460
461
462
463
464
465
466
467
468 public void setTransactionId(String value) {
469 this.transactionId = value;
470 }
471
472 public boolean isSetTransactionId() {
473 return (this.transactionId!= null);
474 }
475
476 }