Class Request
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.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 Summary
Fields Modifier and Type Field Description protected List<Attributes>attributesprotected booleancombinedDecisionprotected MultiRequestsmultiRequestsprotected RequestDefaultsrequestDefaultsprotected booleanreturnPolicyIdList-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attributes>getAttributes()Gets the value of the attributes property.MultiRequestsgetMultiRequests()Gets the value of the multiRequests property.RequestDefaultsgetRequestDefaults()Gets the value of the requestDefaults property.booleanisCombinedDecision()Gets the value of the combinedDecision property.booleanisReturnPolicyIdList()Gets the value of the returnPolicyIdList property.voidsetCombinedDecision(boolean value)Sets the value of the combinedDecision property.voidsetMultiRequests(MultiRequests value)Sets the value of the multiRequests property.voidsetRequestDefaults(RequestDefaults value)Sets the value of the requestDefaults property.voidsetReturnPolicyIdList(boolean value)Sets the value of the returnPolicyIdList property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
requestDefaults
protected RequestDefaults requestDefaults
-
attributes
protected List<Attributes> attributes
-
multiRequests
protected MultiRequests multiRequests
-
returnPolicyIdList
protected boolean returnPolicyIdList
-
combinedDecision
protected boolean combinedDecision
-
-
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 isRequestDefaults
-
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
setmethod 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 isMultiRequests
-
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:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-