Package com.sun.xml.ws.policy
Class SimpleAssertion
- java.lang.Object
-
- com.sun.xml.ws.policy.PolicyAssertion
-
- com.sun.xml.ws.policy.SimpleAssertion
-
- Direct Known Subclasses:
AcknowledgementIntervalAssertion
,AckRequestIntervalAssertion
,AckRequestIntervalClientAssertion
,AllowDuplicatesAssertion
,AtAlwaysCapability
,AtAssertion
,CloseSequenceTimeoutAssertion
,CloseTimeoutClientAssertion
,InactivityTimeoutAssertion
,MaintenanceTaskPeriodAssertion
,MakeConnectionSupportedAssertion
,ManagementAssertion
,MaxConcurrentSessionsAssertion
,OptimalTransportPolicyMapConfigurator.OptimalTransportAssertion
,OrderedDeliveryAssertion
,PersistentAssertion
,ResendIntervalClientAssertion
,Rm10Assertion
,TCPTransportPolicyMapConfigurator.TCPTransportAssertion
public abstract class SimpleAssertion extends PolicyAssertion
Simple assertion is an abstract class that serves as a base class for any assertion that MAY NOT contain nested policies.- Author:
- Marek Potociar (marek.potociar at sun.com)
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleAssertion()
protected
SimpleAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NestedPolicy
getNestedPolicy()
Returns the nested policy if any.boolean
hasNestedPolicy()
Returns the boolean information whether this assertion contains nested policy.-
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
-
-
-
Constructor Detail
-
SimpleAssertion
protected SimpleAssertion()
-
SimpleAssertion
protected SimpleAssertion(AssertionData data, Collection<? extends PolicyAssertion> assertionParameters)
-
-
Method Detail
-
hasNestedPolicy
public final boolean hasNestedPolicy()
Description copied from class:PolicyAssertion
Returns the boolean information whether this assertion contains nested policy.- Overrides:
hasNestedPolicy
in classPolicyAssertion
- Returns:
true
if the assertion contains child (nested) policy. Returnsfalse
otherwise.
-
getNestedPolicy
public final NestedPolicy getNestedPolicy()
Description copied from class:PolicyAssertion
Returns the nested policy if any.- Overrides:
getNestedPolicy
in classPolicyAssertion
- Returns:
- the nested policy if the assertion contains a nested policy. Returns
null
otherwise.
-
-