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

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

public class PolicyType
extends Object

Java class for PolicyType complex type.

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

 <complexType name="PolicyType">
   <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}PolicyDefaults" minOccurs="0"/>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Target"/>
         <choice maxOccurs="unbounded">
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParameters" minOccurs="0"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}RuleCombinerParameters" minOccurs="0"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VariableDefinition"/>
           <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Rule"/>
         </choice>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligations" minOccurs="0"/>
       </sequence>
       <attribute name="PolicyId" 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="RuleCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> combinerParametersOrRuleCombinerParametersOrVariableDefinition
           
protected  String description
           
protected  ObligationsType obligations
           
protected  DefaultsType policyDefaults
           
protected  String policyId
           
protected  String ruleCombiningAlgId
           
protected  TargetType target
           
protected  String version
           
 
Constructor Summary
PolicyType()
           
 
Method Summary
 List<Object> getCombinerParametersOrRuleCombinerParametersOrVariableDefinition()
          Gets the value of the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
 String getDescription()
          Gets the value of the description property.
 ObligationsType getObligations()
          Gets the value of the obligations property.
 DefaultsType getPolicyDefaults()
          Gets the value of the policyDefaults property.
 String getPolicyId()
          Gets the value of the policyId property.
 String getRuleCombiningAlgId()
          Gets the value of the ruleCombiningAlgId 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 setPolicyDefaults(DefaultsType value)
          Sets the value of the policyDefaults property.
 void setPolicyId(String value)
          Sets the value of the policyId property.
 void setRuleCombiningAlgId(String value)
          Sets the value of the ruleCombiningAlgId 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

policyDefaults

protected DefaultsType policyDefaults

target

protected TargetType target

combinerParametersOrRuleCombinerParametersOrVariableDefinition

protected List<Object> combinerParametersOrRuleCombinerParametersOrVariableDefinition

obligations

protected ObligationsType obligations

policyId

protected String policyId

version

protected String version

ruleCombiningAlgId

protected String ruleCombiningAlgId
Constructor Detail

PolicyType

public PolicyType()
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

getPolicyDefaults

public DefaultsType getPolicyDefaults()
Gets the value of the policyDefaults property.

Returns:
possible object is DefaultsType

setPolicyDefaults

public void setPolicyDefaults(DefaultsType value)
Sets the value of the policyDefaults 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

getCombinerParametersOrRuleCombinerParametersOrVariableDefinition

public List<Object> getCombinerParametersOrRuleCombinerParametersOrVariableDefinition()
Gets the value of the combinerParametersOrRuleCombinerParametersOrVariableDefinition 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 combinerParametersOrRuleCombinerParametersOrVariableDefinition property.

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

    getCombinerParametersOrRuleCombinerParametersOrVariableDefinition().add(newItem);
 

Objects of the following type(s) are allowed in the list CombinerParametersType RuleType VariableDefinitionType RuleCombinerParametersType


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

getPolicyId

public String getPolicyId()
Gets the value of the policyId property.

Returns:
possible object is String

setPolicyId

public void setPolicyId(String value)
Sets the value of the policyId 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

getRuleCombiningAlgId

public String getRuleCombiningAlgId()
Gets the value of the ruleCombiningAlgId property.

Returns:
possible object is String

setRuleCombiningAlgId

public void setRuleCombiningAlgId(String value)
Sets the value of the ruleCombiningAlgId property.

Parameters:
value - allowed object is String


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