com.sun.identity.xacml.context
Interface StatusCode

All Known Implementing Classes:
StatusCodeImpl

public interface StatusCode

The StatusCode element is a container of one or more StatusCodes issuded by authorization authority.


Method Summary
 String getMinorCodeValue()
          Returns the minorCodeValue of this object
 String getValue()
          Returns the value of this object
 boolean isMutable()
          Checks if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setMinorCodeValue(String minorCodeValue)
          Sets the minorCodeValue of this object
 void setValue(String value)
          Sets the value of this object
 String toXMLString()
          Returns a string representation
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a string representation
 

Method Detail

getValue

String getValue()
Returns the value of this object

Returns:
the value of this object

setValue

void setValue(String value)
              throws XACMLException
Sets the value of this object

Throws:
XACMLException - if the object is immutable

getMinorCodeValue

String getMinorCodeValue()
Returns the minorCodeValue of this object

Returns:
the minorCodeValue of this object

setMinorCodeValue

void setMinorCodeValue(String minorCodeValue)
                       throws XACMLException
Sets the minorCodeValue 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