org.jboss.security.xacml.jaxb
Class PolicySetType

java.lang.Object
  extended by org.jboss.security.xacml.jaxb.PolicySetType

public class PolicySetType
extends java.lang.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 name="Location" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="Policy" type="{urn:jboss:xacml:2.0}PolicyType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String location
           
protected  java.util.List<PolicyType> policy
           
 
Constructor Summary
PolicySetType()
           
 
Method Summary
 java.lang.String getLocation()
          Gets the value of the location property.
 java.util.List<PolicyType> getPolicy()
          Gets the value of the policy property.
 void setLocation(java.lang.String value)
          Sets the value of the location property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected java.lang.String location

policy

protected java.util.List<PolicyType> policy
Constructor Detail

PolicySetType

public PolicySetType()
Method Detail

getLocation

public java.lang.String getLocation()
Gets the value of the location property.

Returns:
possible object is String

setLocation

public void setLocation(java.lang.String value)
Sets the value of the location property.

Parameters:
value - allowed object is String

getPolicy

public java.util.List<PolicyType> getPolicy()
Gets the value of the policy 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 policy property.

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

    getPolicy().add(newItem);
 

Objects of the following type(s) are allowed in the list PolicyType



Copyright © 2007 JBoss Inc.. All Rights Reserved.