public final class NestedPolicy extends Policy
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
NESTED_POLICY_TOSTRING_NAME |
| Modifier | Constructor and Description |
|---|---|
private |
NestedPolicy(AssertionSet set) |
private |
NestedPolicy(java.lang.String name,
java.lang.String policyId,
AssertionSet set) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static NestedPolicy |
createNestedPolicy(AssertionSet set) |
(package private) static NestedPolicy |
createNestedPolicy(java.lang.String name,
java.lang.String policyId,
AssertionSet set) |
boolean |
equals(java.lang.Object obj)
An
Object.equals(Object obj) method override. |
AssertionSet |
getAssertionSet()
Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object.
|
int |
hashCode()
An
Object.hashCode() method override. |
java.lang.String |
toString()
An
Object.toString() method override. |
(package private) java.lang.StringBuffer |
toString(int indentLevel,
java.lang.StringBuffer buffer)
A helper method that appends indented string representation of this instance to the input string buffer.
|
contains, contains, createEmptyPolicy, createEmptyPolicy, createEmptyPolicy, createNullPolicy, createNullPolicy, createNullPolicy, createPolicy, createPolicy, createPolicy, getContent, getId, getIdOrName, getName, getNamespaceVersion, getNumberOfAssertionSets, getVocabulary, isEmpty, isNull, iteratorprivate static final java.lang.String NESTED_POLICY_TOSTRING_NAME
private NestedPolicy(AssertionSet set)
private NestedPolicy(java.lang.String name,
java.lang.String policyId,
AssertionSet set)
static NestedPolicy createNestedPolicy(AssertionSet set)
static NestedPolicy createNestedPolicy(java.lang.String name, java.lang.String policyId, AssertionSet set)
public AssertionSet getAssertionSet()
null.null in case the nested policy
represents 'nothing allowed' policy.public boolean equals(java.lang.Object obj)
Object.equals(Object obj) method override.public int hashCode()
PolicyObject.hashCode() method override.public java.lang.String toString()
Object.toString() method override.java.lang.StringBuffer toString(int indentLevel,
java.lang.StringBuffer buffer)