OrSpecification
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.search.Specification
public class OrSpecification extends Specification
Represents a composite specification that uses the logical OR operator to combine two given search specifications.
| Method | Description |
|---|---|
| getLeft() | Gets the left specification. |
| getRight() | Gets the right specification. |
| isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. |
public final Specification getLeft()
Gets the left specification.
Returns: Specification - The left specification.
public final Specification getRight()
Gets the right specification.
Returns: Specification - The right specification.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty satisfies the specification.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| candidate | MetadataProperty | A metadata property to test. |
Returns: boolean - True, if the passed property satisfies the specification; otherwise, false.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.