public class OfTypeSpecification extends Specification
Represents a specification that filters properties of a particular type.
| Constructor and Description |
|---|
OfTypeSpecification(MetadataPropertyType propertyType)
Initializes a new instance of the
OfTypeSpecification class. |
| Modifier and Type | Method and Description |
|---|---|
MetadataPropertyType |
getPropertyType()
Gets the type of properties that satisfy the specification.
|
boolean |
isSatisfiedBy(MetadataProperty candidate)
Verifies whether a
MetadataProperty satisfies the specification. |
and, not, orpublic OfTypeSpecification(MetadataPropertyType propertyType)
Initializes a new instance of the OfTypeSpecification class.
propertyType - The type of properties that satisfy the specification.public final MetadataPropertyType getPropertyType()
Gets the type of properties that satisfy the specification.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty satisfies the specification.
isSatisfiedBy in class Specificationcandidate - A metadata property to test.Copyright © 2025. All rights reserved.