Class ProgrammaticMappingConfigurationContextImpl
java.lang.Object
org.hibernate.search.mapper.pojo.mapping.definition.programmatic.impl.ProgrammaticMappingConfigurationContextImpl
- All Implemented Interfaces:
ProgrammaticMappingConfigurationContext,PojoMappingConfigurationContributor
public class ProgrammaticMappingConfigurationContextImpl
extends Object
implements ProgrammaticMappingConfigurationContext, PojoMappingConfigurationContributor
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(MappingBuildContext buildContext, PojoMappingConfigurationContext configurationContext, MappingConfigurationCollector<PojoTypeMetadataContributor> configurationCollector) Starts the definition of the mapping of a specific type.Starts the definition of the mapping of a specific named type.
-
Constructor Details
-
ProgrammaticMappingConfigurationContextImpl
-
-
Method Details
-
configure
public void configure(MappingBuildContext buildContext, PojoMappingConfigurationContext configurationContext, MappingConfigurationCollector<PojoTypeMetadataContributor> configurationCollector) - Specified by:
configurein interfacePojoMappingConfigurationContributor
-
type
Description copied from interface:ProgrammaticMappingConfigurationContextStarts the definition of the mapping of a specific type.- Specified by:
typein interfaceProgrammaticMappingConfigurationContext- Parameters:
clazz- The type to map.- Returns:
- The initial step of a DSL where the type mapping can be defined.
-
type
Description copied from interface:ProgrammaticMappingConfigurationContextStarts the definition of the mapping of a specific named type.- Specified by:
typein interfaceProgrammaticMappingConfigurationContext- Parameters:
typeName- The name of the type. For example for a dynamic, map-based entity type, this would be the entity name.- Returns:
- The initial step of a DSL where the type mapping can be defined.
-