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, toString
protected ComplexAssertion()
protected ComplexAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters, AssertionSet nestedAlternative)
public final boolean hasNestedPolicy()
PolicyAssertion
hasNestedPolicy
in class PolicyAssertion
true
if the assertion contains child (nested) policy. Returns false
otherwise.public final NestedPolicy getNestedPolicy()
PolicyAssertion
getNestedPolicy
in class PolicyAssertion
null
otherwise.Copyright © 2006–2014 Oracle Corporation. All rights reserved.