Class ObligationExpression

  • All Implemented Interfaces:
    XACMLRootElement

    public class ObligationExpression
    extends Object
    implements XACMLRootElement

    Java class for ObligationExpressionType complex type.

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

     <complexType name="ObligationExpressionType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeAssignmentExpression" 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:3.0:core:schema:wd-17}EffectType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ObligationExpression

        public ObligationExpression()
    • Method Detail

      • getAttributeAssignmentExpression

        public List<AttributeAssignmentExpression> getAttributeAssignmentExpression()
        Gets the value of the attributeAssignmentExpression 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 attributeAssignmentExpression property.

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

            getAttributeAssignmentExpression().add(newItem);
         

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

      • 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
      • toXML

        public String toXML()
        Default toXML Method to Marshal Object into XML.
        Specified by:
        toXML in interface XACMLRootElement
        Returns:
        String - Marshaled Results into XML String.