Package org.hibernate.boot.internal
Class MetadataBuildingContextRootImpl
- java.lang.Object
-
- org.hibernate.boot.internal.MetadataBuildingContextRootImpl
-
- All Implemented Interfaces:
MetadataBuildingContext
public class MetadataBuildingContextRootImpl extends Object implements MetadataBuildingContext
RootMetadataBuildingContext.
-
-
Constructor Summary
Constructors Constructor Description MetadataBuildingContextRootImpl(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BootstrapContextgetBootstrapContext()MetadataBuildingOptionsgetBuildingOptions()Access to the options specified by theMetadataBuilderStringgetCurrentContributorName()The name of the contributor whose mappings we are currently processingMappingDefaultsgetMappingDefaults()Access to mapping defaults in effect for this contextInFlightMetadataCollectorgetMetadataCollector()Access to the collector of metadata as we build it.ObjectNameNormalizergetObjectNameNormalizer()Not sure how I feel about this exposed hereTypeDefinitionRegistryStandardImplgetTypeDefinitionRegistry()-
Methods 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 Detail
-
MetadataBuildingContextRootImpl
public MetadataBuildingContextRootImpl(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)
-
-
Method Detail
-
getBootstrapContext
public BootstrapContext getBootstrapContext()
- Specified by:
getBootstrapContextin interfaceMetadataBuildingContext
-
getBuildingOptions
public MetadataBuildingOptions getBuildingOptions()
Description copied from interface:MetadataBuildingContextAccess to the options specified by theMetadataBuilder- Specified by:
getBuildingOptionsin interfaceMetadataBuildingContext- Returns:
- The options
-
getMappingDefaults
public MappingDefaults getMappingDefaults()
Description copied from interface:MetadataBuildingContextAccess to mapping defaults in effect for this context- Specified by:
getMappingDefaultsin interfaceMetadataBuildingContext- Returns:
- The mapping defaults.
-
getMetadataCollector
public InFlightMetadataCollector getMetadataCollector()
Description copied from interface:MetadataBuildingContextAccess to the collector of metadata as we build it.- Specified by:
getMetadataCollectorin interfaceMetadataBuildingContext- Returns:
- The metadata collector.
-
getObjectNameNormalizer
public ObjectNameNormalizer getObjectNameNormalizer()
Description copied from interface:MetadataBuildingContextNot sure how I feel about this exposed here- Specified by:
getObjectNameNormalizerin interfaceMetadataBuildingContext- Returns:
- The ObjectNameNormalizer
-
getTypeDefinitionRegistry
public TypeDefinitionRegistryStandardImpl getTypeDefinitionRegistry()
- Specified by:
getTypeDefinitionRegistryin interfaceMetadataBuildingContext
-
getCurrentContributorName
public String getCurrentContributorName()
Description copied from interface:MetadataBuildingContextThe name of the contributor whose mappings we are currently processing- Specified by:
getCurrentContributorNamein interfaceMetadataBuildingContext
-
-