Package com.sun.identity.xacml.context
Interface Status
-
- All Known Implementing Classes:
StatusImpl
public interface StatusTheStatuselement is a container of one or moreStatuss issuded by authorization authority.Schema: <xs:complexType name="StatusType"> <xs:sequence> <xs:element ref="xacml-context:StatusCode"/> <xs:element ref="xacml-context:StatusMessage" minOccurs="0"/> <xs:element ref="xacml-context:StatusDetail" minOccurs="0"/> <xs:sequence> <xs:complexType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatusCodegetStatusCode()Returns theStatusCodeof this objectStatusDetailgetStatusDetail()Returns theStatusDetailof this objectStatusMessagegetStatusMessage()Returns theStatusMessageof this objectbooleanisMutable()Checks if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetStatusCode(StatusCode statusCode)Sets theStatusCodeof this objectvoidsetStatusDetail(StatusDetail statusDetail)Sets theStatusDetailof this objectvoidsetStatusMessage(StatusMessage statusMessage)Sets theStatusMessageof this objectStringtoXMLString()Returns a string representationStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation
-
-
-
Method Detail
-
getStatusCode
StatusCode getStatusCode()
Returns theStatusCodeof this object- Returns:
- the
StatusCodeof this object
-
setStatusCode
void setStatusCode(StatusCode statusCode) throws XACMLException
Sets theStatusCodeof this object- Throws:
XACMLException- if the object is immutable
-
getStatusMessage
StatusMessage getStatusMessage()
Returns theStatusMessageof this object- Returns:
- the
StatusMessageof this object
-
setStatusMessage
void setStatusMessage(StatusMessage statusMessage) throws XACMLException
Sets theStatusMessageof this object- Throws:
XACMLException- if the object is immutable
-
getStatusDetail
StatusDetail getStatusDetail()
Returns theStatusDetailof this object- Returns:
- the
StatusDetailof this object
-
setStatusDetail
void setStatusDetail(StatusDetail statusDetail) throws XACMLException
Sets theStatusDetailof this object- 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
-
-