1
2 package org.miloss.fgsms.services.interfaces.policyconfiguration;
3
4 import java.io.Serializable;
5 import javax.xml.bind.annotation.XmlAccessType;
6 import javax.xml.bind.annotation.XmlAccessorType;
7 import javax.xml.bind.annotation.XmlElement;
8 import javax.xml.bind.annotation.XmlType;
9 import javax.xml.datatype.Duration;
10 import org.miloss.fgsms.services.interfaces.common.SecurityWrapper;
11
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
38
39
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "GlobalPolicy", propOrder = {
42 "classification",
43 "policyRefreshRate",
44 "recordedMessageCap",
45 "uddiPublishRate",
46 "agentsEnabled"
47 })
48 public class GlobalPolicy
49 implements Serializable
50 {
51
52 private final static long serialVersionUID = 1L;
53 @XmlElement(required = true, nillable = true)
54 protected SecurityWrapper classification;
55 @XmlElement(name = "PolicyRefreshRate", required = true)
56 protected Duration policyRefreshRate;
57 @XmlElement(name = "RecordedMessageCap")
58 protected int recordedMessageCap;
59 @XmlElement(name = "UDDIPublishRate")
60 protected Duration uddiPublishRate;
61 @XmlElement(name = "AgentsEnabled")
62 protected Boolean agentsEnabled;
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 getPolicyRefreshRate() {
101 return policyRefreshRate;
102 }
103
104
105
106
107
108
109
110
111
112 public void setPolicyRefreshRate(Duration value) {
113 this.policyRefreshRate = value;
114 }
115
116 public boolean isSetPolicyRefreshRate() {
117 return (this.policyRefreshRate!= null);
118 }
119
120
121
122
123
124 public int getRecordedMessageCap() {
125 return recordedMessageCap;
126 }
127
128
129
130
131
132 public void setRecordedMessageCap(int value) {
133 this.recordedMessageCap = value;
134 }
135
136 public boolean isSetRecordedMessageCap() {
137 return true;
138 }
139
140
141
142
143
144
145
146
147
148 public Duration getUDDIPublishRate() {
149 return uddiPublishRate;
150 }
151
152
153
154
155
156
157
158
159
160 public void setUDDIPublishRate(Duration value) {
161 this.uddiPublishRate = value;
162 }
163
164 public boolean isSetUDDIPublishRate() {
165 return (this.uddiPublishRate!= null);
166 }
167
168
169
170
171
172
173
174
175
176 public Boolean isAgentsEnabled() {
177 return agentsEnabled;
178 }
179
180
181
182
183
184
185
186
187
188 public void setAgentsEnabled(Boolean value) {
189 this.agentsEnabled = value;
190 }
191
192 public boolean isSetAgentsEnabled() {
193 return (this.agentsEnabled!= null);
194 }
195
196 }