73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * Copyright (c) 2011-2013 ForgeRock AS. All Rights Reserved
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * The contents of this file are subject to the terms
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * of the Common Development and Distribution License
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * (the License). You may not use this file except in
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * compliance with the License.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * You can obtain a copy of the License at
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * See the License for the specific language governing
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * permission and limitations under the License.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * When distributing Covered Code, include this CDDL
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * Header Notice in each file and include the License file
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * If applicable, add the following below the CDDL Header,
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * with the fields enclosed by brackets [] replaced by
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * your own identifying information:
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * "Portions Copyrighted [year] [name of copyright owner]"
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster// Any modifications to this file will be lost upon recompilation of the source schema.
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk// Generated on: 2013.01.21 at 10:40:04 AM PST
fb98811412f1a61efdc30b38091bf4708148a806Allan Fosterpackage com.sun.identity.entitlement.xacml3.core;
6e153e9671eb382c49354ab856404a71477cce58jeff.schenkimport javax.xml.bind.annotation.XmlAccessorType;
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <p>Java class for PolicySetType complex type.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <p>The following schema fragment specifies the expected content contained within this class.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <complexType name="PolicySetType">
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <complexContent>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <sequence>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Description" minOccurs="0"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyIssuer" minOccurs="0"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySetDefaults" minOccurs="0"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Target"/>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <choice maxOccurs="unbounded" minOccurs="0">
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySet"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Policy"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySetIdReference"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyIdReference"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}CombinerParameters"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyCombinerParameters"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySetCombinerParameters"/>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * </choice>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}ObligationExpressions" minOccurs="0"/>
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AdviceExpressions" minOccurs="0"/>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * </sequence>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <attribute name="PolicySetId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
4c0f084e476c05989eb702c500a763ef09ba044ejeff.schenk * <attribute name="Version" use="required" type="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}VersionType" />
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <attribute name="PolicyCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * <attribute name="MaxDelegationDepth" type="{http://www.w3.org/2001/XMLSchema}integer" />
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * </restriction>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * </complexContent>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * </complexType>
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "description",
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "policyIssuer",
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "policySetDefaults",
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "policySetOrPolicyOrPolicySetIdReference",
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "obligationExpressions",
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster "adviceExpressions"
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenkpublic class PolicySet implements XACMLRootElement {
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "PolicySetCombinerParameters", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class),
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "PolicySetIdReference", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class),
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "Policy", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class),
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "PolicySet", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class),
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "PolicyIdReference", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class),
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "PolicyCombinerParameters", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class),
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk @XmlElementRef(name = "CombinerParameters", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:wd-17", type = JAXBElement.class)
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster protected List<JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference;
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster protected ObligationExpressions obligationExpressions;
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster @XmlAttribute(name = "PolicySetId", required = true)
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster @XmlAttribute(name = "Version", required = true)
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster @XmlAttribute(name = "PolicyCombiningAlgId", required = true)
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the description property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link String }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the description property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link String }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the policyIssuer property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link PolicyIssuer }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the policyIssuer property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link PolicyIssuer }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public void setPolicyIssuer(PolicyIssuer value) {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the policySetDefaults property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link Defaults }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the policySetDefaults property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link Defaults }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public void setPolicySetDefaults(Defaults value) {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the target property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link Target }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the target property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link Target }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the policySetOrPolicyOrPolicySetIdReference property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * This accessor method returns a reference to the live list,
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * not a snapshot. Therefore any modification you make to the
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * returned list will be present inside the JAXB object.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * This is why there is not a <CODE>set</CODE> method for the policySetOrPolicyOrPolicySetIdReference property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * For example, to add a new item, do as follows:
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * getPolicySetOrPolicyOrPolicySetIdReference().add(newItem);
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Objects of the following type(s) are allowed in the list
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link PolicySetCombinerParameters }{@code >}
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link IdReference }{@code >}
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link Policy }{@code >}
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link PolicySet }{@code >}
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link IdReference }{@code >}
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link PolicyCombinerParameters }{@code >}
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link JAXBElement }{@code <}{@link CombinerParameters }{@code >}
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public List<JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference() {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster if (policySetOrPolicyOrPolicySetIdReference == null) {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster policySetOrPolicyOrPolicySetIdReference = new ArrayList<JAXBElement<?>>();
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster return this.policySetOrPolicyOrPolicySetIdReference;
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the obligationExpressions property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link ObligationExpressions }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public ObligationExpressions getObligationExpressions() {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the obligationExpressions property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link ObligationExpressions }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public void setObligationExpressions(ObligationExpressions value) {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the adviceExpressions property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link AdviceExpressions }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public AdviceExpressions getAdviceExpressions() {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the adviceExpressions property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link AdviceExpressions }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public void setAdviceExpressions(AdviceExpressions value) {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the policySetId property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link String }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the policySetId property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link String }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the version property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link Version }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the version property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link Version }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the policyCombiningAlgId property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link String }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the policyCombiningAlgId property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * {@link String }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public void setPolicyCombiningAlgId(String value) {
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Gets the value of the maxDelegationDepth property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * possible object is
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link BigInteger }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * Sets the value of the maxDelegationDepth property.
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * @param value
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster * allowed object is
6e153e9671eb382c49354ab856404a71477cce58jeff.schenk * {@link BigInteger }
fb98811412f1a61efdc30b38091bf4708148a806Allan Foster public void setMaxDelegationDepth(BigInteger value) {
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * Default toXML Method to Marshal Object into XML.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk * @return String - Marshaled Results into XML String.
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk StringBuilder stringBuilder = new StringBuilder();
73308f54e60e4cdb893e8b02955497e8f45b5893jeff.schenk // Return Marshaled Data.