public class NotSpecification extends Specification
Represents a composite specification that negates any other specification.
Modifier and Type | Method and Description |
---|---|
Specification |
getWrapped()
Gets the base specification to be negated.
|
boolean |
isSatisfiedBy(MetadataProperty candidate)
Verifies whether a
MetadataProperty satisfies the specification. |
and, not, or
public final Specification getWrapped()
Gets the base specification to be negated.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty
satisfies the specification.
isSatisfiedBy
in class Specification
candidate
- A metadata property to test.