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 BootstrapContext
getBootstrapContext()
MetadataBuildingOptions
getBuildingOptions()
Access to the options specified by theMetadataBuilder
String
getCurrentContributorName()
The name of the contributor whose mappings we are currently processingMappingDefaults
getMappingDefaults()
Access to mapping defaults in effect for this contextInFlightMetadataCollector
getMetadataCollector()
Access to the collector of metadata as we build it.ObjectNameNormalizer
getObjectNameNormalizer()
Not sure how I feel about this exposed hereTypeDefinitionRegistryStandardImpl
getTypeDefinitionRegistry()
-
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
-
-
-
-
Constructor Detail
-
MetadataBuildingContextRootImpl
public MetadataBuildingContextRootImpl(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)
-
-
Method Detail
-
getBootstrapContext
public BootstrapContext getBootstrapContext()
- Specified by:
getBootstrapContext
in interfaceMetadataBuildingContext
-
getBuildingOptions
public MetadataBuildingOptions getBuildingOptions()
Description copied from interface:MetadataBuildingContext
Access to the options specified by theMetadataBuilder
- Specified by:
getBuildingOptions
in interfaceMetadataBuildingContext
- Returns:
- The options
-
getMappingDefaults
public MappingDefaults getMappingDefaults()
Description copied from interface:MetadataBuildingContext
Access to mapping defaults in effect for this context- Specified by:
getMappingDefaults
in interfaceMetadataBuildingContext
- Returns:
- The mapping defaults.
-
getMetadataCollector
public InFlightMetadataCollector 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
public ObjectNameNormalizer getObjectNameNormalizer()
Description copied from interface:MetadataBuildingContext
Not sure how I feel about this exposed here- Specified by:
getObjectNameNormalizer
in interfaceMetadataBuildingContext
- Returns:
- The ObjectNameNormalizer
-
getTypeDefinitionRegistry
public TypeDefinitionRegistryStandardImpl getTypeDefinitionRegistry()
- Specified by:
getTypeDefinitionRegistry
in interfaceMetadataBuildingContext
-
getCurrentContributorName
public String getCurrentContributorName()
Description copied from interface:MetadataBuildingContext
The name of the contributor whose mappings we are currently processing- Specified by:
getCurrentContributorName
in interfaceMetadataBuildingContext
-
-