Package com.sun.identity.xacml.context
Interface Result
-
- All Superinterfaces:
XmlSerializable
@SupportedAll public interface Result extends XmlSerializable
TheResultelement is a container of one or moreResults issuded by authorization authority.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DecisiongetDecision()Returns theDecisionof this objectObligationsgetObligations()Returns theObligationsof this objectStringgetResourceId()Returns theResourceids of this objectStatusgetStatus()Returns theStatusof this objectbooleanisMutable()Checks if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetDecision(Decision decision)Sets theDecisionof this objectvoidsetObligations(Obligations obligations)Sets theObligationsof this objectvoidsetResourceId(String resourceId)Sets theResourceids of this objectvoidsetStatus(Status status)Sets theStatusof this objectdefault StringtoXMLString()Returns a string representationdefault StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
-
-
-
Method Detail
-
getResourceId
String getResourceId()
Returns theResourceids of this object- Returns:
- the
Resourceids of this object
-
setResourceId
void setResourceId(String resourceId) throws XACMLException
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
void setDecision(Decision decision) throws XACMLException
Sets theDecisionof this object- Throws:
XACMLException- if the object is immutable
-
getStatus
Status getStatus()
Returns theStatusof this object- Returns:
- the
Statusof this object
-
setStatus
void setStatus(Status status) throws XACMLException
Sets theStatusof this object- Throws:
XACMLException- if the object is immutable
-
getObligations
Obligations getObligations()
Returns theObligationsof this object- Returns:
- the
Obligationsof this object
-
setObligations
void setObligations(Obligations obligations) throws XACMLException
Sets theObligationsof this object- Parameters:
obligations-Obligationsto set- Throws:
XACMLException- if the object is immutable
-
toXMLString
default String toXMLString() throws XACMLException
Returns a string representation- Specified by:
toXMLStringin interfaceXmlSerializable- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
toXMLString
default String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
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
-
-