com.groupdocs.metadata.search

Class Specification

    • Constructor Detail

      • Specification

        public Specification()
    • Method Detail

      • isSatisfiedBy

        public abstract boolean isSatisfiedBy(MetadataProperty candidate)

        Verifies whether a MetadataProperty satisfies the specification.

        Parameters:
        candidate - A metadata property to test.
        Returns:
        True, if the passed property satisfies the specification; otherwise, false.
      • and

        public final Specification and(Specification other)

        Combines two search specifications using the logical AND operator.

        Parameters:
        other - A specification to combine with.
        Returns:
        A composite specification.
      • or

        public final Specification or(Specification other)

        Combines two search specifications using the logical OR operator.

        Parameters:
        other - A specification to combine with.
        Returns:
        A composite specification.
      • not

        public final Specification not()

        Negates the specification.

        Returns:
        A composite specification.