Package com.sun.identity.xacml.context
Interface Result
-
- All Superinterfaces:
XmlSerializable
@SupportedAll public interface Result extends XmlSerializable
TheResult
element is a container of one or moreResult
s issuded by authorization authority.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Decision
getDecision()
Returns theDecision
of this objectObligations
getObligations()
Returns theObligations
of this objectString
getResourceId()
Returns theResourceid
s of this objectStatus
getStatus()
Returns theStatus
of this objectboolean
isMutable()
Checks if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setDecision(Decision decision)
Sets theDecision
of this objectvoid
setObligations(Obligations obligations)
Sets theObligations
of this objectvoid
setResourceId(String resourceId)
Sets theResourceid
s of this objectvoid
setStatus(Status status)
Sets theStatus
of this objectdefault String
toXMLString()
Returns a string representationdefault String
toXMLString(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 theResourceid
s of this object- Returns:
- the
Resourceid
s of this object
-
setResourceId
void setResourceId(String resourceId) throws XACMLException
Sets theResourceid
s of this object- Throws:
XACMLException
- if the object is immutable
-
getDecision
Decision getDecision()
Returns theDecision
of this object- Returns:
- the
Decision
of this object
-
setDecision
void setDecision(Decision decision) throws XACMLException
Sets theDecision
of this object- Throws:
XACMLException
- if the object is immutable
-
getStatus
Status getStatus()
Returns theStatus
of this object- Returns:
- the
Status
of this object
-
setStatus
void setStatus(Status status) throws XACMLException
Sets theStatus
of this object- Throws:
XACMLException
- if the object is immutable
-
getObligations
Obligations getObligations()
Returns theObligations
of this object- Returns:
- the
Obligations
of this object
-
setObligations
void setObligations(Obligations obligations) throws XACMLException
Sets theObligations
of this object- Parameters:
obligations
-Obligations
to set- Throws:
XACMLException
- if the object is immutable
-
toXMLString
default String toXMLString() throws XACMLException
Returns a string representation- Specified by:
toXMLString
in 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:
toXMLString
in 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:
true
if the object is mutable,false
otherwise
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
-