NotSpecification
Inheritance: java.lang.Object, com.groupdocs.metadata.search.Specification
public class NotSpecification extends Specification
Represents a composite specification that negates any other specification.
Methods
Method | Description |
---|---|
getWrapped() | Gets the base specification to be negated. |
isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. |
getWrapped()
public final Specification getWrapped()
Gets the base specification to be negated.
Returns: Specification - The base specification to be negated.
isSatisfiedBy(MetadataProperty candidate)
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.