Package com.sun.identity.xacml.context
Interface Result
-
- All Known Implementing Classes:
ResultImpl
public interface ResultTheResultelement is a container of one or moreResults issuded by authorization authority.schema: <xs:complexType name="ResultType"> <xs:sequence> <xs:element ref="xacml-context:Decision"/> <xs:element ref="xacml-context:Status" minOccurs="0"/> <xs:element ref="xacml:Obligations" minOccurs="0"/> <xs:sequence> <xs:attribute name="ResourceId" type="xs:string" use="optional"/> <xs:complexType>
-
-
Method Summary
All Methods Instance Methods Abstract 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 objectStringtoXMLString()Returns a string representationStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation
-
-
-
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
String toXMLString() throws XACMLException
Returns a string representation- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation- 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
-
-