public class OrSpecification extends Specification
Represents a composite specification that uses the logical OR operator to combine two given search specifications.
Modifier and Type | Method and Description |
---|---|
Specification |
getLeft()
Gets the left specification.
|
Specification |
getRight()
Gets the right specification.
|
boolean |
isSatisfiedBy(MetadataProperty candidate)
Verifies whether a
MetadataProperty satisfies the specification. |
and, not, or
public final Specification getLeft()
Gets the left specification.
public final Specification getRight()
Gets the right specification.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty
satisfies the specification.
isSatisfiedBy
in class Specification
candidate
- A metadata property to test.