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.

        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
        candidate - A metadata property to test.
        True, if the passed property satisfies the specification; otherwise, false.