Lines Matching defs:assertion

38  * Base class for any policy assertion implementations. It defines the common
39 * interface and provides some default implentation for common policy assertion
62 * @param assertionData assertion creation data specifying the details of newly created assertion. May be {@code null}.
63 * @param assertionParameters collection of assertions parameters of this policy assertion. May be {@code null}.
64 * @param nestedAlternative assertion set specifying nested policy alternative. May be {@code null}.
66 * @deprecated Non-abstract assertion types should derive from {@link SimpleAssertion}
84 * @param assertionData assertion creation data specifying the details of newly created assertion
85 * @param assertionParameters collection of assertions parameters of this policy assertion. May be {@code null}.
97 * Returns the fully qualified name of the assertion.
99 * @return assertion's fully qualified name.
106 * Returns the value of the assertion - the character data content contained in the assertion element representation.
108 * @return assertion's value. May return {@code null} if there is no value set for the assertion.
115 * Method specifies whether the assertion is otpional or not.
118 * is present on the assertion and its value is {@code 'true'}. Otherwise the method returns {@code false}.
120 * @return {@code 'true'} if the assertion is optional. Returns {@code false} otherwise.
127 * Method specifies whether the assertion is ignorable or not.
130 * is present on the assertion and its value is {@code 'true'}. Otherwise the method returns {@code false}.
132 * @return {@code 'true'} if the assertion is ignorable. Returns {@code false} otherwise.
139 * Method specifies whether the assertion is private or not. This is specified by our proprietary visibility element.
141 * @return {@code 'true'} if the assertion is marked as private (i.e. should not be marshalled int generated WSDL documents). Returns {@code false} otherwise.
148 * Returns the disconnected set of attributes attached to the assertion. Each attribute is represented as a single
151 * 'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. It is
152 * also important to notice that a manipulation with returned set of attributes will not have any effect on the actual assertion's
155 * @return disconected set of attributes attached to the assertion.
162 * Returns the disconnected map of attributes attached to the assertion.
164 * 'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. It is
165 * also important to notice that a manipulation with returned set of attributes will not have any effect on the actual assertion's
168 * @return disconnected map of attributes attached to the assertion.
185 * Returns the boolean information whether this assertion contains any parameters.
187 * @return {@code true} if the assertion contains parameters. Returns {@code false} otherwise.
198 * Returns the boolean information whether this assertion contains any parameters.
200 * @return {@code true} if the assertion contains parameters. Returns {@code false} otherwise.
207 * Returns the assertion's parameter collection iterator.
209 * @return the assertion's parameter collection iterator.
220 * Returns the assertion's parameter collection iterator.
222 * @return the assertion's parameter collection iterator.
233 * Returns the boolean information whether this assertion contains nested policy.
235 * @return {@code true} if the assertion contains child (nested) policy. Returns {@code false} otherwise.
245 * @return the nested policy if the assertion contains a nested policy. Returns {@code null} otherwise.
253 * Casts the assertion to the implementation type. Returns null if that is not
256 * @param <T> The implementation type of the assertion.
257 * @param type The implementation type of the assertion. May not be null.
316 * @param assertion policy alternative used for compatibility test
320 boolean isCompatibleWith(final PolicyAssertion assertion, PolicyIntersector.CompatibilityMode mode) {
321 boolean result = this.data.getName().equals(assertion.data.getName()) && (this.hasNestedPolicy() == assertion.hasNestedPolicy());
324 result = this.getNestedPolicy().getAssertionSet().isCompatibleWith(assertion.getNestedPolicy().getAssertionSet(), mode);