1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
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.XmlType;
12 import javax.xml.datatype.Duration;
13 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
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 @XmlRootElement
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "SetProcessListByMachineResponseMsg", propOrder = {
45 "classification",
46 "reportingFrequency",
47 "machinePolicy",
48 "processPolicy"
49 })
50 public class SetProcessListByMachineResponseMsg
51 implements Serializable
52 {
53
54 private final static long serialVersionUID = 1L;
55 @XmlElement(required = true, nillable = true)
56 protected SecurityWrapper classification;
57 @XmlElement(name = "ReportingFrequency", required = true)
58 protected Duration reportingFrequency;
59 @XmlElement(name = "MachinePolicy", required = true)
60 protected MachinePolicy machinePolicy;
61 @XmlElement(name = "ProcessPolicy")
62 protected List<ProcessPolicy> processPolicy;
63
64
65
66
67
68
69
70
71
72 public SecurityWrapper getClassification() {
73 return classification;
74 }
75
76
77
78
79
80
81
82
83
84 public void setClassification(SecurityWrapper value) {
85 this.classification = value;
86 }
87
88 public boolean isSetClassification() {
89 return (this.classification!= null);
90 }
91
92
93
94
95
96
97
98
99
100 public Duration getReportingFrequency() {
101 return reportingFrequency;
102 }
103
104
105
106
107
108
109
110
111
112 public void setReportingFrequency(Duration value) {
113 this.reportingFrequency = value;
114 }
115
116 public boolean isSetReportingFrequency() {
117 return (this.reportingFrequency!= null);
118 }
119
120
121
122
123
124
125
126
127
128 public MachinePolicy getMachinePolicy() {
129 return machinePolicy;
130 }
131
132
133
134
135
136
137
138
139
140 public void setMachinePolicy(MachinePolicy value) {
141 this.machinePolicy = value;
142 }
143
144 public boolean isSetMachinePolicy() {
145 return (this.machinePolicy!= null);
146 }
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170 public List<ProcessPolicy> getProcessPolicy() {
171 if (processPolicy == null) {
172 processPolicy = new ArrayList<ProcessPolicy>();
173 }
174 return this.processPolicy;
175 }
176
177 public boolean isSetProcessPolicy() {
178 return ((this.processPolicy!= null)&&(!this.processPolicy.isEmpty()));
179 }
180
181 public void unsetProcessPolicy() {
182 this.processPolicy = null;
183 }
184
185 }