com.groupdocs.metadata.search

Class NotSpecification



  • public class NotSpecification
    extends Specification

    Represents a composite specification that negates any other specification.

    • Method Detail

      • getWrapped

        public final Specification getWrapped()

        Gets the base specification to be negated.

        Returns:
        The base specification to be negated.
      • isSatisfiedBy

        public boolean isSatisfiedBy(MetadataProperty candidate)

        Verifies whether a MetadataProperty satisfies the specification.

        Specified by:
        isSatisfiedBy in class Specification
        Parameters:
        candidate - A metadata property to test.
        Returns:
        True, if the passed property satisfies the specification; otherwise, false.