-
Notifications
You must be signed in to change notification settings - Fork 8
/
PolicyType.java
298 lines (270 loc) · 9.81 KB
/
PolicyType.java
1
2
3
4
5
6
7
8
9
10
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
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
171
172
173
174
175
176
177
178
179
180
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.06.02 at 11:44:08 AM CEST
//
package oasis.names.tc.xacml._3_0.core.schema.wd_17;
import javax.xml.bind.annotation.*;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Java class for PolicyType complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* <complexType name="PolicyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Description" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyIssuer" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyDefaults" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Target"/>
* <choice maxOccurs="unbounded">
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}CombinerParameters" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}RuleCombinerParameters" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}VariableDefinition"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Rule"/>
* </choice>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}ObligationExpressions" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AdviceExpressions" minOccurs="0"/>
* </sequence>
* <attribute name="PolicyId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="Version" use="required" type="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}VersionType"
* />
* <attribute name="RuleCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="MaxDelegationDepth" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PolicyType", propOrder = {
"description",
"policyIssuer",
"policyDefaults",
"target",
"combinerParametersOrRuleCombinerParametersOrVariableDefinition",
"obligationExpressions",
"adviceExpressions"
})
public class PolicyType {
@XmlElement(name = "AdviceExpressions")
protected AdviceExpressionsType adviceExpressions;
@XmlElements({
@XmlElement(name = "CombinerParameters", type = CombinerParametersType.class),
@XmlElement(name = "RuleCombinerParameters", type = RuleCombinerParametersType.class),
@XmlElement(name = "VariableDefinition", type = VariableDefinitionType.class),
@XmlElement(name = "Rule", type = RuleType.class)
})
protected List<Object> combinerParametersOrRuleCombinerParametersOrVariableDefinition;
@XmlElement(name = "Description")
protected String description;
@XmlAttribute(name = "MaxDelegationDepth")
protected BigInteger maxDelegationDepth;
@XmlElement(name = "ObligationExpressions")
protected ObligationExpressionsType obligationExpressions;
@XmlElement(name = "PolicyDefaults")
protected DefaultsType policyDefaults;
@XmlAttribute(name = "PolicyId", required = true)
@XmlSchemaType(name = "anyURI")
protected String policyId;
@XmlElement(name = "PolicyIssuer")
protected PolicyIssuerType policyIssuer;
@XmlAttribute(name = "RuleCombiningAlgId", required = true)
@XmlSchemaType(name = "anyURI")
protected String ruleCombiningAlgId;
@XmlElement(name = "Target", required = true)
protected TargetType target;
@XmlAttribute(name = "Version", required = true)
protected String version;
/**
* Gets the value of the adviceExpressions property.
*
* @return possible object is {@link AdviceExpressionsType }
*/
public AdviceExpressionsType getAdviceExpressions() {
return adviceExpressions;
}
/**
* Gets the value of the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
* <p/>
* <p/>
* This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
* the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for
* the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getCombinerParametersOrRuleCombinerParametersOrVariableDefinition().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list {@link CombinerParametersType } {@link
* RuleCombinerParametersType } {@link VariableDefinitionType } {@link RuleType }
*/
public List<Object> getCombinerParametersOrRuleCombinerParametersOrVariableDefinition() {
if (combinerParametersOrRuleCombinerParametersOrVariableDefinition == null) {
combinerParametersOrRuleCombinerParametersOrVariableDefinition = new ArrayList<Object>();
}
return this.combinerParametersOrRuleCombinerParametersOrVariableDefinition;
}
/**
* Gets the value of the description property.
*
* @return possible object is {@link String }
*/
public String getDescription() {
return description;
}
/**
* Gets the value of the maxDelegationDepth property.
*
* @return possible object is {@link BigInteger }
*/
public BigInteger getMaxDelegationDepth() {
return maxDelegationDepth;
}
/**
* Gets the value of the obligationExpressions property.
*
* @return possible object is {@link ObligationExpressionsType }
*/
public ObligationExpressionsType getObligationExpressions() {
return obligationExpressions;
}
/**
* Gets the value of the policyDefaults property.
*
* @return possible object is {@link DefaultsType }
*/
public DefaultsType getPolicyDefaults() {
return policyDefaults;
}
/**
* Gets the value of the policyId property.
*
* @return possible object is {@link String }
*/
public String getPolicyId() {
return policyId;
}
/**
* Gets the value of the policyIssuer property.
*
* @return possible object is {@link PolicyIssuerType }
*/
public PolicyIssuerType getPolicyIssuer() {
return policyIssuer;
}
/**
* Gets the value of the ruleCombiningAlgId property.
*
* @return possible object is {@link String }
*/
public String getRuleCombiningAlgId() {
return ruleCombiningAlgId;
}
/**
* Gets the value of the target property.
*
* @return possible object is {@link TargetType }
*/
public TargetType getTarget() {
return target;
}
/**
* Gets the value of the version property.
*
* @return possible object is {@link String }
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the adviceExpressions property.
*
* @param value allowed object is {@link AdviceExpressionsType }
*/
public void setAdviceExpressions(AdviceExpressionsType value) {
this.adviceExpressions = value;
}
/**
* Sets the value of the description property.
*
* @param value allowed object is {@link String }
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Sets the value of the maxDelegationDepth property.
*
* @param value allowed object is {@link BigInteger }
*/
public void setMaxDelegationDepth(BigInteger value) {
this.maxDelegationDepth = value;
}
/**
* Sets the value of the obligationExpressions property.
*
* @param value allowed object is {@link ObligationExpressionsType }
*/
public void setObligationExpressions(ObligationExpressionsType value) {
this.obligationExpressions = value;
}
/**
* Sets the value of the policyDefaults property.
*
* @param value allowed object is {@link DefaultsType }
*/
public void setPolicyDefaults(DefaultsType value) {
this.policyDefaults = value;
}
/**
* Sets the value of the policyId property.
*
* @param value allowed object is {@link String }
*/
public void setPolicyId(String value) {
this.policyId = value;
}
/**
* Sets the value of the policyIssuer property.
*
* @param value allowed object is {@link PolicyIssuerType }
*/
public void setPolicyIssuer(PolicyIssuerType value) {
this.policyIssuer = value;
}
/**
* Sets the value of the ruleCombiningAlgId property.
*
* @param value allowed object is {@link String }
*/
public void setRuleCombiningAlgId(String value) {
this.ruleCombiningAlgId = value;
}
/**
* Sets the value of the target property.
*
* @param value allowed object is {@link TargetType }
*/
public void setTarget(TargetType value) {
this.target = value;
}
/**
* Sets the value of the version property.
*
* @param value allowed object is {@link String }
*/
public void setVersion(String value) {
this.version = value;
}
}