com.sun.identity.policy
Class ResourceResult

java.lang.Object
  |
  +--com.sun.identity.policy.ResourceResult

public class ResourceResult
extends java.lang.Object

Class that encapsulates a tree of resource names, with each node having an associated policy decision.


Constructor Summary
ResourceResult()
           
 
Method Summary
 PolicyDecision getPolicyDecision()
          Gets the policy decision associated with this resource result
 java.lang.String getResourceName()
          Gets the resource name of this resource result
 java.util.Set getResourceResults()
          Gets the child resource results of this resource result
 java.lang.String toString()
          Gets a string representation of this resource result
 java.lang.String toXML()
          Gets an XML representation of this resource result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceResult

public ResourceResult()
Method Detail

getResourceName

public java.lang.String getResourceName()
Gets the resource name of this resource result
Returns:
resource name of this resource result

getPolicyDecision

public PolicyDecision getPolicyDecision()
Gets the policy decision associated with this resource result
Returns:
policy decision associated with this resource result

getResourceResults

public java.util.Set getResourceResults()
Gets the child resource results of this resource result
Returns:
child resource results of this resource result

toString

public java.lang.String toString()
Gets a string representation of this resource result
Overrides:
toString in class java.lang.Object
Returns:
a string representation of this resource result

toXML

public java.lang.String toXML()
Gets an XML representation of this resource result
Returns:
an XML representation of this resource result