com.sun.identity.xacml.context
Interface Result


public interface Result

The Result element is a container of one or more Results issuded by authorization authority.


Method Summary
 Decision getDecision()
          Returns the Decision of this object
 Obligations getObligations()
          Returns the Obligations of this object
 String getResourceId()
          Returns the Resourceids of this object
 Status getStatus()
          Returns the Status of this object
 boolean isMutable()
          Checks if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setDecision(Decision decision)
          Sets the Decision of this object
 void setObligations(Obligations obligations)
          Sets the Obligations of this object
 void setResourceId(String resourceId)
          Sets the Resourceids of this object
 void setStatus(Status status)
          Sets the Status of this object
 String toXMLString()
          Returns a string representation
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a string representation
 

Method Detail

getResourceId

String getResourceId()
Returns the Resourceids of this object

Returns:
the Resourceids of this object

setResourceId

void setResourceId(String resourceId)
                   throws XACMLException
Sets the Resourceids of this object

Throws:
XACMLException - if the object is immutable

getDecision

Decision getDecision()
Returns the Decision of this object

Returns:
the Decision of this object

setDecision

void setDecision(Decision decision)
                 throws XACMLException
Sets the Decision of this object

Throws:
XACMLException - if the object is immutable

getStatus

Status getStatus()
Returns the Status of this object

Returns:
the Status of this object

setStatus

void setStatus(Status status)
               throws XACMLException
Sets the Status of this object

Throws:
XACMLException - if the object is immutable

getObligations

Obligations getObligations()
Returns the Obligations of this object

Returns:
the Obligations of this object

setObligations

void setObligations(Obligations obligations)
                    throws XACMLException
Sets the Obligations of this object

Parameters:
obligations - Obligations to 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 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