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.MachinePerformanceData;
12 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
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 = "GetMachinePerformanceLogsByRangeResponseMsg", propOrder = {
39 "classification",
40 "machinePerformanceData"
41 })
42 public class GetMachinePerformanceLogsByRangeResponseMsg
43 implements Serializable
44 {
45
46 private final static long serialVersionUID = 1L;
47 @XmlElement(required = true, nillable = true)
48 protected SecurityWrapper classification;
49 @XmlElement(name = "MachinePerformanceData")
50 protected List<MachinePerformanceData> machinePerformanceData;
51
52
53
54
55
56
57
58
59
60 public SecurityWrapper getClassification() {
61 return classification;
62 }
63
64
65
66
67
68
69
70
71
72 public void setClassification(SecurityWrapper value) {
73 this.classification = value;
74 }
75
76 public boolean isSetClassification() {
77 return (this.classification!= null);
78 }
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102 public List<MachinePerformanceData> getMachinePerformanceData() {
103 if (machinePerformanceData == null) {
104 machinePerformanceData = new ArrayList<MachinePerformanceData>();
105 }
106 return this.machinePerformanceData;
107 }
108
109 public boolean isSetMachinePerformanceData() {
110 return ((this.machinePerformanceData!= null)&&(!this.machinePerformanceData.isEmpty()));
111 }
112
113 public void unsetMachinePerformanceData() {
114 this.machinePerformanceData = null;
115 }
116
117 }