com.groupdocs.metadata.search

Class AndSpecification



  • public class AndSpecification
    extends Specification

    Represents a composite specification that uses the logical AND operator to combine two given search specifications.

    • Method Detail

      • getLeft

        public final Specification getLeft()

        Gets the left specification.

        Returns:
        The left specification.
      • getRight

        public final Specification getRight()

        Gets the right specification.

        Returns:
        The right specification.
      • 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.