public abstract class SimpleAssertion extends PolicyAssertion
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleAssertion() |
protected |
SimpleAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters) |
| 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 SimpleAssertion()
protected SimpleAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
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.