PolicySet.java revision fb98811412f1a61efdc30b38091bf4708148a806
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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.11 at 10:26:55 AM PDT
//
package com.sun.identity.entitlement.xacml3.core;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PolicySetType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="PolicySetType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}Description" minOccurs="0"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicyIssuer" minOccurs="0"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicySetDefaults" minOccurs="0"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}Target"/>
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicySet"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}Policy"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicySetIdReference"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicyIdReference"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}CombinerParameters"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicyCombinerParameters"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}PolicySetCombinerParameters"/>
* &lt;/choice>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}ObligationExpressions" minOccurs="0"/>
* &lt;element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}AdviceExpressions" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="PolicySetId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* &lt;attribute name="Version" use="required" type="{urn:oasis:names:tc:xacml:3.0:core:schema:cd-1}VersionType" />
* &lt;attribute name="PolicyCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* &lt;attribute name="MaxDelegationDepth" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PolicySetType", propOrder = {
"description",
"policyIssuer",
"policySetDefaults",
"target",
"policySetOrPolicyOrPolicySetIdReference",
"obligationExpressions",
"adviceExpressions"
})
public class PolicySet {
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "PolicyIssuer")
protected PolicyIssuer policyIssuer;
@XmlElement(name = "PolicySetDefaults")
protected Defaults policySetDefaults;
@XmlElement(name = "Target", required = true)
protected Target target;
@XmlElementRefs({
@XmlElementRef(name = "PolicyIdReference", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class),
@XmlElementRef(name = "PolicySet", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class),
@XmlElementRef(name = "PolicyCombinerParameters", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class),
@XmlElementRef(name = "PolicySetIdReference", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class),
@XmlElementRef(name = "CombinerParameters", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class),
@XmlElementRef(name = "Policy", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class),
@XmlElementRef(name = "PolicySetCombinerParameters", namespace = "urn:oasis:names:tc:xacml:3.0:core:schema:cd-1", type = JAXBElement.class)
})
protected List<JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference;
@XmlElement(name = "ObligationExpressions")
protected ObligationExpressions obligationExpressions;
@XmlElement(name = "AdviceExpressions")
protected AdviceExpressions adviceExpressions;
@XmlAttribute(name = "PolicySetId", required = true)
@XmlSchemaType(name = "anyURI")
protected String policySetId;
@XmlAttribute(name = "Version", required = true)
protected Version version;
@XmlAttribute(name = "PolicyCombiningAlgId", required = true)
@XmlSchemaType(name = "anyURI")
protected String policyCombiningAlgId;
@XmlAttribute(name = "MaxDelegationDepth")
protected BigInteger maxDelegationDepth;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the policyIssuer property.
*
* @return
* possible object is
* {@link PolicyIssuer }
*
*/
public PolicyIssuer getPolicyIssuer() {
return policyIssuer;
}
/**
* Sets the value of the policyIssuer property.
*
* @param value
* allowed object is
* {@link PolicyIssuer }
*
*/
public void setPolicyIssuer(PolicyIssuer value) {
this.policyIssuer = value;
}
/**
* Gets the value of the policySetDefaults property.
*
* @return
* possible object is
* {@link Defaults }
*
*/
public Defaults getPolicySetDefaults() {
return policySetDefaults;
}
/**
* Sets the value of the policySetDefaults property.
*
* @param value
* allowed object is
* {@link Defaults }
*
*/
public void setPolicySetDefaults(Defaults value) {
this.policySetDefaults = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link Target }
*
*/
public Target getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link Target }
*
*/
public void setTarget(Target value) {
this.target = value;
}
/**
* Gets the value of the policySetOrPolicyOrPolicySetIdReference property.
*
* <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 policySetOrPolicyOrPolicySetIdReference property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPolicySetOrPolicyOrPolicySetIdReference().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link IdReference }{@code >}
* {@link JAXBElement }{@code <}{@link PolicySet }{@code >}
* {@link JAXBElement }{@code <}{@link PolicyCombinerParameters }{@code >}
* {@link JAXBElement }{@code <}{@link IdReference }{@code >}
* {@link JAXBElement }{@code <}{@link CombinerParameters }{@code >}
* {@link JAXBElement }{@code <}{@link Policy }{@code >}
* {@link JAXBElement }{@code <}{@link PolicySetCombinerParameters }{@code >}
*
*
*/
public List<JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference() {
if (policySetOrPolicyOrPolicySetIdReference == null) {
policySetOrPolicyOrPolicySetIdReference = new ArrayList<JAXBElement<?>>();
}
return this.policySetOrPolicyOrPolicySetIdReference;
}
/**
* Gets the value of the obligationExpressions property.
*
* @return
* possible object is
* {@link ObligationExpressions }
*
*/
public ObligationExpressions getObligationExpressions() {
return obligationExpressions;
}
/**
* Sets the value of the obligationExpressions property.
*
* @param value
* allowed object is
* {@link ObligationExpressions }
*
*/
public void setObligationExpressions(ObligationExpressions value) {
this.obligationExpressions = value;
}
/**
* Gets the value of the adviceExpressions property.
*
* @return
* possible object is
* {@link AdviceExpressions }
*
*/
public AdviceExpressions getAdviceExpressions() {
return adviceExpressions;
}
/**
* Sets the value of the adviceExpressions property.
*
* @param value
* allowed object is
* {@link AdviceExpressions }
*
*/
public void setAdviceExpressions(AdviceExpressions value) {
this.adviceExpressions = value;
}
/**
* Gets the value of the policySetId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPolicySetId() {
return policySetId;
}
/**
* Sets the value of the policySetId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPolicySetId(String value) {
this.policySetId = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link Version }
*
*/
public Version getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link Version }
*
*/
public void setVersion(Version value) {
this.version = value;
}
/**
* Gets the value of the policyCombiningAlgId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPolicyCombiningAlgId() {
return policyCombiningAlgId;
}
/**
* Sets the value of the policyCombiningAlgId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPolicyCombiningAlgId(String value) {
this.policyCombiningAlgId = value;
}
/**
* Gets the value of the maxDelegationDepth property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaxDelegationDepth() {
return maxDelegationDepth;
}
/**
* Sets the value of the maxDelegationDepth property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaxDelegationDepth(BigInteger value) {
this.maxDelegationDepth = value;
}
}