Class Request

  • All Implemented Interfaces:
    XACMLRootElement

    public class Request
    extends Object
    implements XACMLRootElement

    Java class for RequestType complex type.

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

     <complexType name="RequestType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}RequestDefaults" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Attributes" maxOccurs="unbounded"/>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}MultiRequests" minOccurs="0"/>
           </sequence>
           <attribute name="ReturnPolicyIdList" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="CombinedDecision" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • returnPolicyIdList

        protected boolean returnPolicyIdList
      • combinedDecision

        protected boolean combinedDecision
    • Constructor Detail

      • Request

        public Request()
    • Method Detail

      • getRequestDefaults

        public RequestDefaults getRequestDefaults()
        Gets the value of the requestDefaults property.
        Returns:
        possible object is RequestDefaults
      • setRequestDefaults

        public void setRequestDefaults​(RequestDefaults value)
        Sets the value of the requestDefaults property.
        Parameters:
        value - allowed object is RequestDefaults
      • getAttributes

        public List<Attributes> getAttributes()
        Gets the value of the attributes 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 attributes property.

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

            getAttributes().add(newItem);
         

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

      • getMultiRequests

        public MultiRequests getMultiRequests()
        Gets the value of the multiRequests property.
        Returns:
        possible object is MultiRequests
      • setMultiRequests

        public void setMultiRequests​(MultiRequests value)
        Sets the value of the multiRequests property.
        Parameters:
        value - allowed object is MultiRequests
      • isReturnPolicyIdList

        public boolean isReturnPolicyIdList()
        Gets the value of the returnPolicyIdList property.
      • setReturnPolicyIdList

        public void setReturnPolicyIdList​(boolean value)
        Sets the value of the returnPolicyIdList property.
      • isCombinedDecision

        public boolean isCombinedDecision()
        Gets the value of the combinedDecision property.
      • setCombinedDecision

        public void setCombinedDecision​(boolean value)
        Sets the value of the combinedDecision property.
      • 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.