Interface EntityMetamodelConfigurationBuilder<E>
- Type Parameters:
E- The type of entity for which the metamodel is being built.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface used to build an
EntityMetamodel for a specific entity type, based on the provided
Configuration and EntityMetamodelBuilder.
Users supplying this can choose to disregard the provided EntityMetamodelBuilder and build their own
EntityMetamodel instance, or use the builder to configure the metamodel as they see fit.
- Since:
- 5.0.0
- Author:
- Mitchell Herrijgers
-
Method Summary
Modifier and TypeMethodDescriptionbuild(Configuration configuration, EntityMetamodelBuilder<E> builder) Builds anEntityMetamodelfor the given entity type, using the providedConfigurationandEntityMetamodelBuilder.
-
Method Details
-
build
EntityMetamodel<E> build(@Nonnull Configuration configuration, @Nonnull EntityMetamodelBuilder<E> builder) Builds anEntityMetamodelfor the given entity type, using the providedConfigurationandEntityMetamodelBuilder.- Parameters:
configuration- The configuration to use for building the metamodel.builder- The builder to use for configuring the metamodel.- Returns:
- The built
EntityMetamodel.
-