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 theMetadataBuilderThe 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, waitMethods 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:
getBootstrapContextin interfaceMetadataBuildingContext
-
getBuildingOptions
Description copied from interface:MetadataBuildingContextAccess to the options specified by theMetadataBuilder- Specified by:
getBuildingOptionsin interfaceMetadataBuildingContext- Returns:
- The options
-
getEffectiveDefaults
Description copied from interface:MetadataBuildingContextAccess to mapping defaults in effect for this context- Specified by:
getEffectiveDefaultsin interfaceMetadataBuildingContext- Returns:
- The mapping defaults.
-
getMetadataCollector
Description copied from interface:MetadataBuildingContextAccess to the collector of metadata as we build it.- Specified by:
getMetadataCollectorin interfaceMetadataBuildingContext- Returns:
- The metadata collector.
-
getObjectNameNormalizer
Description copied from interface:MetadataBuildingContextNot sure how I feel about this exposed here- Specified by:
getObjectNameNormalizerin interfaceMetadataBuildingContext- Returns:
- The ObjectNameNormalizer
-
getTypeDefinitionRegistry
- Specified by:
getTypeDefinitionRegistryin interfaceMetadataBuildingContext
-
getCurrentContributorName
Description copied from interface:MetadataBuildingContextThe name of the contributor whose mappings we are currently processing- Specified by:
getCurrentContributorNamein interfaceMetadataBuildingContext
-