NotSpecification
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.search.Specification
public class NotSpecification extends Specification
Represents a composite specification that negates any other specification.
| Method | Description |
|---|---|
| getWrapped() | Gets the base specification to be negated. |
| isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. |
public final Specification getWrapped()
Gets the base specification to be negated.
Returns: Specification - The base specification to be negated.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty satisfies the specification.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| candidate | MetadataProperty | A metadata property to test. |
Returns: boolean - True, if the passed property satisfies the specification; otherwise, false.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.