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

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

public class ObligationType
extends Object

Java class for ObligationType complex type.

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

 <complexType name="ObligationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}AttributeAssignment" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="ObligationId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="FulfillOn" use="required" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}EffectType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<AttributeAssignmentType> attributeAssignment
           
protected  EffectType fulfillOn
           
protected  String obligationId
           
 
Constructor Summary
ObligationType()
           
 
Method Summary
 List<AttributeAssignmentType> getAttributeAssignment()
          Gets the value of the attributeAssignment property.
 EffectType getFulfillOn()
          Gets the value of the fulfillOn property.
 String getObligationId()
          Gets the value of the obligationId property.
 void setFulfillOn(EffectType value)
          Sets the value of the fulfillOn property.
 void setObligationId(String value)
          Sets the value of the obligationId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeAssignment

protected List<AttributeAssignmentType> attributeAssignment

obligationId

protected String obligationId

fulfillOn

protected EffectType fulfillOn
Constructor Detail

ObligationType

public ObligationType()
Method Detail

getAttributeAssignment

public List<AttributeAssignmentType> getAttributeAssignment()
Gets the value of the attributeAssignment 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 attributeAssignment property.

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

    getAttributeAssignment().add(newItem);
 

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


getObligationId

public String getObligationId()
Gets the value of the obligationId property.

Returns:
possible object is String

setObligationId

public void setObligationId(String value)
Sets the value of the obligationId property.

Parameters:
value - allowed object is String

getFulfillOn

public EffectType getFulfillOn()
Gets the value of the fulfillOn property.

Returns:
possible object is EffectType

setFulfillOn

public void setFulfillOn(EffectType value)
Sets the value of the fulfillOn property.

Parameters:
value - allowed object is EffectType


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