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 org.miloss.fgsms.services.interfaces.common.DriveInformation;
12 import org.miloss.fgsms.services.interfaces.common.MachinePerformanceData;
13 import org.miloss.fgsms.services.interfaces.common.ProcessPerformanceData;
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 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "MachineData", propOrder = {
41 "driveInformation",
42 "hostname",
43 "domainName",
44 "machinePerformanceData",
45 "processPerformanceData"
46 })
47 public class MachineData
48 implements Serializable
49 {
50
51 private final static long serialVersionUID = 1L;
52 protected List<DriveInformation> driveInformation;
53 @XmlElement(name = "Hostname", required = true)
54 protected String hostname;
55 @XmlElement(name = "DomainName", required = true)
56 protected String domainName;
57 @XmlElement(name = "MachinePerformanceData", required = true)
58 protected MachinePerformanceData machinePerformanceData;
59 @XmlElement(name = "ProcessPerformanceData")
60 protected List<ProcessPerformanceData> processPerformanceData;
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84 public List<DriveInformation> getDriveInformation() {
85 if (driveInformation == null) {
86 driveInformation = new ArrayList<DriveInformation>();
87 }
88 return this.driveInformation;
89 }
90
91 public boolean isSetDriveInformation() {
92 return ((this.driveInformation!= null)&&(!this.driveInformation.isEmpty()));
93 }
94
95 public void unsetDriveInformation() {
96 this.driveInformation = null;
97 }
98
99
100
101
102
103
104
105
106
107 public String getHostname() {
108 return hostname;
109 }
110
111
112
113
114
115
116
117
118
119 public void setHostname(String value) {
120 this.hostname = value;
121 }
122
123 public boolean isSetHostname() {
124 return (this.hostname!= null);
125 }
126
127
128
129
130
131
132
133
134
135 public String getDomainName() {
136 return domainName;
137 }
138
139
140
141
142
143
144
145
146
147 public void setDomainName(String value) {
148 this.domainName = value;
149 }
150
151 public boolean isSetDomainName() {
152 return (this.domainName!= null);
153 }
154
155
156
157
158
159
160
161
162
163 public MachinePerformanceData getMachinePerformanceData() {
164 return machinePerformanceData;
165 }
166
167
168
169
170
171
172
173
174
175 public void setMachinePerformanceData(MachinePerformanceData value) {
176 this.machinePerformanceData = value;
177 }
178
179 public boolean isSetMachinePerformanceData() {
180 return (this.machinePerformanceData!= null);
181 }
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205 public List<ProcessPerformanceData> getProcessPerformanceData() {
206 if (processPerformanceData == null) {
207 processPerformanceData = new ArrayList<ProcessPerformanceData>();
208 }
209 return this.processPerformanceData;
210 }
211
212 public boolean isSetProcessPerformanceData() {
213 return ((this.processPerformanceData!= null)&&(!this.processPerformanceData.isEmpty()));
214 }
215
216 public void unsetProcessPerformanceData() {
217 this.processPerformanceData = null;
218 }
219
220 }