public interface MetadataResolver extends Resolver<EntityDescriptor,CriteriaSet>, IdentifiedComponent
EntityDescriptor instances
which meet certain supplied criteria.
At a minimum, a MetadataResolver implementation MUST support the following criteria:
Implementations SHOULD also support the following criteria when possible:
| Modifier and Type | Method and Description |
|---|---|
MetadataFilter |
getMetadataFilter()
Gets the metadata filter applied to the metadata.
|
boolean |
isRequireValidMetadata()
Gets whether the metadata returned by queries must be valid.
|
void |
setMetadataFilter(MetadataFilter newFilter)
Sets the metadata filter applied to the metadata.
|
void |
setRequireValidMetadata(boolean requireValidMetadata)
Sets whether the metadata returned by queries must be valid.
|
resolve, resolveSinglegetIdboolean isRequireValidMetadata()
At a minimum, metadata is valid only if the date expressed in the validUntil attribute
of the element and all its ancestral elements has not passed. Specific implementations may add additional
constraints.
void setRequireValidMetadata(boolean requireValidMetadata)
requireValidMetadata - whether the metadata returned by queries must be valid@Nullable MetadataFilter getMetadataFilter()
void setMetadataFilter(@Nullable MetadataFilter newFilter)
newFilter - the metadata filter applied to the metadataCopyright © 2016 JBoss by Red Hat. All rights reserved.