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.XmlType;
11 import javax.xml.datatype.Duration;
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 @XmlAccessorType(XmlAccessType.FIELD)
38 @XmlType(name = "QuickStatWrapper", propOrder = {
39 "action",
40 "uptime",
41 "quickStatData"
42 })
43 public class QuickStatWrapper
44 implements Serializable
45 {
46
47 private final static long serialVersionUID = 1L;
48 @XmlElement(required = true, nillable = true)
49 protected String action;
50 @XmlElement(required = true, nillable = true)
51 protected Duration uptime;
52 @XmlElement(name = "QuickStatData", required = false, nillable = true)
53 protected List<QuickStatData> quickStatData;
54
55
56
57
58
59
60
61
62
63 public String getAction() {
64 return action;
65 }
66
67
68
69
70
71
72
73
74
75 public void setAction(String value) {
76 this.action = value;
77 }
78
79 public boolean isSetAction() {
80 return (this.action!= null);
81 }
82
83
84
85
86
87
88
89
90
91 public Duration getUptime() {
92 return uptime;
93 }
94
95
96
97
98
99
100
101
102
103 public void setUptime(Duration value) {
104 this.uptime = value;
105 }
106
107 public boolean isSetUptime() {
108 return (this.uptime!= null);
109 }
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133 public List<QuickStatData> getQuickStatData() {
134 if (quickStatData == null) {
135 quickStatData = new ArrayList<QuickStatData>();
136 }
137 return this.quickStatData;
138 }
139
140 public boolean isSetQuickStatData() {
141 return ((this.quickStatData!= null)&&(!this.quickStatData.isEmpty()));
142 }
143
144 public void unsetQuickStatData() {
145 this.quickStatData = null;
146 }
147
148 }