org.jboss.security.xacml.core.model.policy
Class PolicySetType

java.lang.Object
  extended by org.jboss.security.xacml.core.model.policy.PolicySetType

public class PolicySetType
extends Object

Java class for PolicySetType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PolicySetType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Description" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySetDefaults" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Target"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySet"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Policy"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySetIdReference"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicyIdReference"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParameters"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicyCombinerParameters"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicySetCombinerParameters"/>
         </choice>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligations" minOccurs="0"/>
       </sequence>
       <attribute name="PolicySetId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="Version" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionType" default="1.0" />
       <attribute name="PolicyCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String description
           
protected  ObligationsType obligations
           
protected  String policyCombiningAlgId
           
protected  DefaultsType policySetDefaults
           
protected  String policySetId
           
protected  List<javax.xml.bind.JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference
           
protected  TargetType target
           
protected  String version
           
 
Constructor Summary
PolicySetType()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 ObligationsType getObligations()
          Gets the value of the obligations property.
 String getPolicyCombiningAlgId()
          Gets the value of the policyCombiningAlgId property.
 DefaultsType getPolicySetDefaults()
          Gets the value of the policySetDefaults property.
 String getPolicySetId()
          Gets the value of the policySetId property.
 List<javax.xml.bind.JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference()
          Gets the value of the policySetOrPolicyOrPolicySetIdReference property.
 TargetType getTarget()
          Gets the value of the target property.
 String getVersion()
          Gets the value of the version property.
 void setDescription(String value)
          Sets the value of the description property.
 void setObligations(ObligationsType value)
          Sets the value of the obligations property.
 void setPolicyCombiningAlgId(String value)
          Sets the value of the policyCombiningAlgId property.
 void setPolicySetDefaults(DefaultsType value)
          Sets the value of the policySetDefaults property.
 void setPolicySetId(String value)
          Sets the value of the policySetId property.
 void setTarget(TargetType value)
          Sets the value of the target property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected String description

policySetDefaults

protected DefaultsType policySetDefaults

target

protected TargetType target

policySetOrPolicyOrPolicySetIdReference

protected List<javax.xml.bind.JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference

obligations

protected ObligationsType obligations

policySetId

protected String policySetId

version

protected String version

policyCombiningAlgId

protected String policyCombiningAlgId
Constructor Detail

PolicySetType

public PolicySetType()
Method Detail

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getPolicySetDefaults

public DefaultsType getPolicySetDefaults()
Gets the value of the policySetDefaults property.

Returns:
possible object is DefaultsType

setPolicySetDefaults

public void setPolicySetDefaults(DefaultsType value)
Sets the value of the policySetDefaults property.

Parameters:
value - allowed object is DefaultsType

getTarget

public TargetType getTarget()
Gets the value of the target property.

Returns:
possible object is TargetType

setTarget

public void setTarget(TargetType value)
Sets the value of the target property.

Parameters:
value - allowed object is TargetType

getPolicySetOrPolicyOrPolicySetIdReference

public List<javax.xml.bind.JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference()
Gets the value of the policySetOrPolicyOrPolicySetIdReference property.

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 set method for the policySetOrPolicyOrPolicySetIdReference property.

For example, to add a new item, do as follows:

    getPolicySetOrPolicyOrPolicySetIdReference().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<PolicyType> JAXBElement<IdReferenceType> JAXBElement<PolicyCombinerParametersType> JAXBElement<CombinerParametersType> JAXBElement<PolicySetType> JAXBElement<IdReferenceType> JAXBElement<PolicySetCombinerParametersType>


getObligations

public ObligationsType getObligations()
Gets the value of the obligations property.

Returns:
possible object is ObligationsType

setObligations

public void setObligations(ObligationsType value)
Sets the value of the obligations property.

Parameters:
value - allowed object is ObligationsType

getPolicySetId

public String getPolicySetId()
Gets the value of the policySetId property.

Returns:
possible object is String

setPolicySetId

public void setPolicySetId(String value)
Sets the value of the policySetId property.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getPolicyCombiningAlgId

public String getPolicyCombiningAlgId()
Gets the value of the policyCombiningAlgId property.

Returns:
possible object is String

setPolicyCombiningAlgId

public void setPolicyCombiningAlgId(String value)
Sets the value of the policyCombiningAlgId property.

Parameters:
value - allowed object is String


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.