com.sun.identity.xacml.context
Interface Status

All Known Implementing Classes:
StatusImpl

public interface Status

The Status element is a container of one or more Statuss issuded by authorization authority.


Method Summary
 StatusCode getStatusCode()
          Returns the StatusCode of this object
 StatusDetail getStatusDetail()
          Returns the StatusDetail of this object
 StatusMessage getStatusMessage()
          Returns the StatusMessage of this object
 boolean isMutable()
          Checks if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setStatusCode(StatusCode statusCode)
          Sets the StatusCode of this object
 void setStatusDetail(StatusDetail statusDetail)
          Sets the StatusDetail of this object
 void setStatusMessage(StatusMessage statusMessage)
          Sets the StatusMessage of this object
 String toXMLString()
          Returns a string representation
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a string representation
 

Method Detail

getStatusCode

StatusCode getStatusCode()
Returns the StatusCode of this object

Returns:
the StatusCode of this object

setStatusCode

void setStatusCode(StatusCode statusCode)
                   throws XACMLException
Sets the StatusCode of this object

Throws:
XACMLException - if the object is immutable

getStatusMessage

StatusMessage getStatusMessage()
Returns the StatusMessage of this object

Returns:
the StatusMessage of this object

setStatusMessage

void setStatusMessage(StatusMessage statusMessage)
                      throws XACMLException
Sets the StatusMessage of this object

Throws:
XACMLException - if the object is immutable

getStatusDetail

StatusDetail getStatusDetail()
Returns the StatusDetail of this object

Returns:
the StatusDetail of this object

setStatusDetail

void setStatusDetail(StatusDetail statusDetail)
                     throws XACMLException
Sets the StatusDetail of 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 converted
declareNS - 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