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, toString
protected SimpleAssertion()
protected SimpleAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
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-2015 Oracle Corporation. All Rights Reserved.