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 * Represents all available global policies for this realm
16 *
17 *
18 * <p>Java class for GlobalPolicy complex type.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 *
22 * <pre>
23 * <complexType name="GlobalPolicy">
24 * <complexContent>
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 * <sequence>
27 * <element name="classification" type="{urn:org:miloss:fgsms:services:interfaces:common}SecurityWrapper"/>
28 * <element name="PolicyRefreshRate" type="{http://www.w3.org/2001/XMLSchema}duration"/>
29 * <element name="RecordedMessageCap" type="{http://www.w3.org/2001/XMLSchema}int"/>
30 * <element name="UDDIPublishRate" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
31 * <element name="AgentsEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
32 * </sequence>
33 * </restriction>
34 * </complexContent>
35 * </complexType>
36 * </pre>
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 * Gets the value of the classification property.
66 *
67 * @return
68 * possible object is
69 * {@link SecurityWrapper }
70 *
71 */
72 public SecurityWrapper getClassification() {
73 return classification;
74 }
75
76 /**
77 * Sets the value of the classification property.
78 *
79 * @param value
80 * allowed object is
81 * {@link SecurityWrapper }
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 * Gets the value of the policyRefreshRate property.
94 *
95 * @return
96 * possible object is
97 * {@link Duration }
98 *
99 */
100 public Duration getPolicyRefreshRate() {
101 return policyRefreshRate;
102 }
103
104 /**
105 * Sets the value of the policyRefreshRate property.
106 *
107 * @param value
108 * allowed object is
109 * {@link Duration }
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 * Gets the value of the recordedMessageCap property.
122 *
123 */
124 public int getRecordedMessageCap() {
125 return recordedMessageCap;
126 }
127
128 /**
129 * Sets the value of the recordedMessageCap property.
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 * Gets the value of the uddiPublishRate property.
142 *
143 * @return
144 * possible object is
145 * {@link Duration }
146 *
147 */
148 public Duration getUDDIPublishRate() {
149 return uddiPublishRate;
150 }
151
152 /**
153 * Sets the value of the uddiPublishRate property.
154 *
155 * @param value
156 * allowed object is
157 * {@link Duration }
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 * Gets the value of the agentsEnabled property.
170 *
171 * @return
172 * possible object is
173 * {@link Boolean }
174 *
175 */
176 public Boolean isAgentsEnabled() {
177 return agentsEnabled;
178 }
179
180 /**
181 * Sets the value of the agentsEnabled property.
182 *
183 * @param value
184 * allowed object is
185 * {@link Boolean }
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 }