Class TypeMetadataContributorProvider<C>
java.lang.Object
org.hibernate.search.engine.mapper.model.spi.TypeMetadataContributorProvider<C>
- Type Parameters:
C
- The Java type of type metadata contributors.
A provider of type metadata contributors, taking into account explicit contributions,
implicit discovery and inheritance.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <C> TypeMetadataContributorProvider.Builder<C>
builder()
get
(MappableTypeModel typeModel) getIgnoringInheritance
(MappableTypeModel typeModel) Set<? extends MappableTypeModel>
-
Method Details
-
builder
-
get
- Parameters:
typeModel
- The model of a type to retrieve contributors for, including supertype contributors.- Returns:
- A set of metadata contributors
-
getIgnoringInheritance
- Parameters:
typeModel
- The model of a type to retrieve contributors for, excluding supertype contributors.- Returns:
- A set of metadata contributors
-
typesContributedTo
- Returns:
- A set containing all the types that were contributed to so far.
-