public abstract class ComplexAssertion extends PolicyAssertion
| Modifier | Constructor and Description |
|---|---|
protected |
ComplexAssertion() |
protected |
ComplexAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
| Modifier and Type | Method and Description |
|---|---|
NestedPolicy |
getNestedPolicy()
Returns the nested policy if any.
|
boolean |
hasNestedPolicy()
Returns the boolean information whether this assertion contains nested policy.
|
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toStringprotected ComplexAssertion()
protected ComplexAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters, AssertionSet nestedAlternative)
public final boolean hasNestedPolicy()
PolicyAssertionhasNestedPolicy in class PolicyAssertiontrue if the assertion contains child (nested) policy. Returns false otherwise.public final NestedPolicy getNestedPolicy()
PolicyAssertiongetNestedPolicy in class PolicyAssertionnull otherwise.Copyright © 2006–2017 Oracle Corporation. All rights reserved.