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.
| Field Summary | 
| static java.lang.String | SELF_SCOPEConstant to indicate base (self) level scope for ResourceResult evaluation
 | 
| static java.lang.String | STRICT_SUBTREE_SCOPEConstant to indicate strict subtree level scope for ResourceResult evaluation
 | 
| static java.lang.String | SUBTREE_SCOPEConstant to indicate subtree level scope for ResourceResult evaluation
 | 
 
 
| 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 | 
 
SUBTREE_SCOPE
public static final java.lang.String SUBTREE_SCOPE
- Constant to indicate subtree level scope for ResourceResult evaluation
STRICT_SUBTREE_SCOPE
public static final java.lang.String STRICT_SUBTREE_SCOPE
- Constant to indicate strict subtree level scope for ResourceResult evaluation
SELF_SCOPE
public static final java.lang.String SELF_SCOPE
- Constant to indicate base (self) level scope for ResourceResult evaluation
ResourceResult
public ResourceResult()
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:
- toStringin 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
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.