java.lang.Object
com.sun.xml.ws.policy.Policy
com.sun.xml.ws.policy.NestedPolicy
- All Implemented Interfaces:
Iterable<AssertionSet>
A special policy implementation that assures that only no or single policy alternative is possible within this type of policy.
- Author:
- Marek Potociar
-
Method Summary
Modifier and TypeMethodDescriptionboolean
AnObject.equals(Object obj)
method override.Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object.int
hashCode()
AnObject.hashCode()
method override.toString()
AnObject.toString()
method override.Methods inherited from class com.sun.xml.ws.policy.Policy
contains, contains, createEmptyPolicy, createEmptyPolicy, createEmptyPolicy, createNullPolicy, createNullPolicy, createNullPolicy, createPolicy, createPolicy, createPolicy, getId, getIdOrName, getName, getNamespaceVersion, getNumberOfAssertionSets, getVocabulary, isEmpty, isNull, iterator
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getAssertionSet
Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object. If the nested policy represents a policy with no alternatives (i.e. nothing is allowed) the method returnsnull
.- Returns:
- nested policy alternative represented by AssertionSet object. May return
null
in case the nested policy represents 'nothing allowed' policy.
-
equals
AnObject.equals(Object obj)
method override. -
hashCode
public int hashCode()Description copied from class:Policy
AnObject.hashCode()
method override. -
toString
AnObject.toString()
method override.
-