Package com.sun.identity.xacml.context
Interface Result
- All Superinterfaces:
XmlSerializable
The
Result element is a container of
one or more Results issuded by authorization authority.-
Method Summary
Modifier and TypeMethodDescriptionReturns theDecisionof this objectReturns theObligationsof this objectReturns theResourceids of this objectReturns theStatusof this objectbooleanChecks if the object is mutablevoidMakes the object immutablevoidsetDecision(Decision decision) Sets theDecisionof this objectvoidsetObligations(Obligations obligations) Sets theObligationsof this objectvoidsetResourceId(String resourceId) Sets theResourceids of this objectvoidSets theStatusof this objectdefault StringReturns a string representationdefault StringtoXMLString(boolean includeNSPrefix, boolean declareNS) Returns a string representationMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
Method Details
-
getResourceId
String getResourceId()Returns theResourceids of this object- Returns:
- the
Resourceids of this object
-
setResourceId
Sets theResourceids of this object- Throws:
XACMLException- if the object is immutable
-
getDecision
Decision getDecision()Returns theDecisionof this object- Returns:
- the
Decisionof this object
-
setDecision
Sets theDecisionof this object- Throws:
XACMLException- if the object is immutable
-
getStatus
Status getStatus()Returns theStatusof this object- Returns:
- the
Statusof this object
-
setStatus
Sets theStatusof this object- Throws:
XACMLException- if the object is immutable
-
getObligations
Obligations getObligations()Returns theObligationsof this object- Returns:
- the
Obligationsof this object
-
setObligations
Sets theObligationsof this object- Parameters:
obligations-Obligationsto set- Throws:
XACMLException- if the object is immutable
-
toXMLString
Returns a string representation- Specified by:
toXMLStringin interfaceXmlSerializable- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
toXMLString
Returns a string representation- Specified by:
toXMLStringin interfaceXmlSerializable- Parameters:
includeNSPrefix- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
isMutable
boolean isMutable()Checks if the object is mutable- Returns:
trueif the object is mutable,falseotherwise
-
makeImmutable
void makeImmutable()Makes the object immutable
-