Package org.hibernate.boot.internal
Class MetadataBuildingContextRootImpl
java.lang.Object
org.hibernate.boot.internal.MetadataBuildingContextRootImpl
- All Implemented Interfaces:
MetadataBuildingContext
Root
MetadataBuildingContext
.-
Constructor Summary
ConstructorsConstructorDescriptionMetadataBuildingContextRootImpl
(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector, RootMappingDefaults mappingDefaults) -
Method Summary
Modifier and TypeMethodDescriptionAccess to the options specified by theMetadataBuilder
The name of the contributor whose mappings we are currently processingAccess to mapping defaults in effect for this contextAccess to the collector of metadata as we build it.Not sure how I feel about this exposed hereMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.boot.spi.MetadataBuildingContext
getPreferredSqlTypeCodeForArray, getPreferredSqlTypeCodeForBoolean, getPreferredSqlTypeCodeForDuration, getPreferredSqlTypeCodeForInstant, getPreferredSqlTypeCodeForUuid, isPreferJavaTimeJdbcTypesEnabled, isPreferNativeEnumTypesEnabled
-
Constructor Details
-
MetadataBuildingContextRootImpl
public MetadataBuildingContextRootImpl(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector, RootMappingDefaults mappingDefaults)
-
-
Method Details
-
getBootstrapContext
- Specified by:
getBootstrapContext
in interfaceMetadataBuildingContext
-
getBuildingOptions
Description copied from interface:MetadataBuildingContext
Access to the options specified by theMetadataBuilder
- Specified by:
getBuildingOptions
in interfaceMetadataBuildingContext
- Returns:
- The options
-
getEffectiveDefaults
Description copied from interface:MetadataBuildingContext
Access to mapping defaults in effect for this context- Specified by:
getEffectiveDefaults
in interfaceMetadataBuildingContext
- Returns:
- The mapping defaults.
-
getMetadataCollector
Description copied from interface:MetadataBuildingContext
Access to the collector of metadata as we build it.- Specified by:
getMetadataCollector
in interfaceMetadataBuildingContext
- Returns:
- The metadata collector.
-
getObjectNameNormalizer
Description copied from interface:MetadataBuildingContext
Not sure how I feel about this exposed here- Specified by:
getObjectNameNormalizer
in interfaceMetadataBuildingContext
- Returns:
- The ObjectNameNormalizer
-
getTypeDefinitionRegistry
- Specified by:
getTypeDefinitionRegistry
in interfaceMetadataBuildingContext
-
getCurrentContributorName
Description copied from interface:MetadataBuildingContext
The name of the contributor whose mappings we are currently processing- Specified by:
getCurrentContributorName
in interfaceMetadataBuildingContext
-