public abstract class Specification extends Object
Provides a base abstract class for search specifications that can be combined using logical operators.
| Constructor and Description |
|---|
Specification() |
| Modifier and Type | Method and Description |
|---|---|
Specification |
and(Specification other)
Combines two search specifications using the logical AND operator.
|
abstract boolean |
isSatisfiedBy(MetadataProperty candidate)
Verifies whether a
MetadataProperty satisfies the specification. |
Specification |
not()
Negates the specification.
|
Specification |
or(Specification other)
Combines two search specifications using the logical OR operator.
|
public final Specification and(Specification other)
Combines two search specifications using the logical AND operator.
other - A specification to combine with.public abstract boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty satisfies the specification.
candidate - A metadata property to test.public final Specification not()
Negates the specification.
public final Specification or(Specification other)
Combines two search specifications using the logical OR operator.
other - A specification to combine with.Copyright © 2026. All rights reserved.