Top Description Fields Constructors Methods
org.hibernate.boot.internal

public Class MetadataBuildingContextRootImpl

extends Object
implements MetadataBuildingContext
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.spi.MetadataBuildingContext
Imports
org.hibernate.boot.model.TypeDefinitionRegistryStandardImpl, org.hibernate.boot.model.naming.ObjectNameNormalizer, org.hibernate.boot.spi.BootstrapContext, .InFlightMetadataCollector, .MappingDefaults, .MetadataBuildingContext, .MetadataBuildingOptions

Root MetadataBuildingContext.

Field Summary

Modifier and TypeField and Description
private final BootstrapContext
private final String
private final MappingDefaults
private final InFlightMetadataCollector
metadataCollector

Deprecated as a consequence of InFlightMetadataCollector being deprecated.
private final ObjectNameNormalizer
private final MetadataBuildingOptions
private final TypeDefinitionRegistryStandardImpl

Constructor Summary

AccessConstructor and Description
public
MetadataBuildingContextRootImpl(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)

Deprecated as a consequence of InFlightMetadataCollector being deprecated.

Method Summary

Modifier and TypeMethod and Description
public BootstrapContext
public MetadataBuildingOptions
public String
getCurrentContributorName()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getCurrentContributorName.

The name of the contributor whose mappings we are currently processing
public MappingDefaults
getMappingDefaults()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getMappingDefaults.

Access to mapping defaults in effect for this context
public InFlightMetadataCollector
getMetadataCollector()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getMetadataCollector.

Deprecated as a consequence of InFlightMetadataCollector being deprecated.
Access to the collector of metadata as we build it.
public ObjectNameNormalizer
public TypeDefinitionRegistryStandardImpl
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bootstrapContextback to summary
private final BootstrapContext bootstrapContext
contributorback to summary
private final String contributor
mappingDefaultsback to summary
private final MappingDefaults mappingDefaults
metadataCollectorback to summary
private final InFlightMetadataCollector metadataCollector

Deprecated

as a consequence of InFlightMetadataCollector being deprecated. See corresponding docs for further information.

objectNameNormalizerback to summary
private final ObjectNameNormalizer objectNameNormalizer
optionsback to summary
private final MetadataBuildingOptions options
typeDefinitionRegistryback to summary
private final TypeDefinitionRegistryStandardImpl typeDefinitionRegistry

Constructor Detail

MetadataBuildingContextRootImplback to summary
public MetadataBuildingContextRootImpl(String contributor, BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)

Deprecated

as a consequence of InFlightMetadataCollector being deprecated. See corresponding docs for further information.

Method Detail

getBootstrapContextback to summary
public BootstrapContext getBootstrapContext()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getBootstrapContext.

Annotations
@Override
getBuildingOptionsback to summary
public MetadataBuildingOptions getBuildingOptions()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getBuildingOptions.

Doc from org.hibernate.boot.spi.MetadataBuildingContext.getBuildingOptions.

Access to the options specified by the org.hibernate.boot.MetadataBuilder

Returns:MetadataBuildingOptions

The options

Annotations
@Override
getCurrentContributorNameback to summary
public String getCurrentContributorName()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getCurrentContributorName.

Doc from org.hibernate.boot.spi.MetadataBuildingContext.getCurrentContributorName.

The name of the contributor whose mappings we are currently processing

Annotations
@Override
getMappingDefaultsback to summary
public MappingDefaults getMappingDefaults()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getMappingDefaults.

Doc from org.hibernate.boot.spi.MetadataBuildingContext.getMappingDefaults.

Access to mapping defaults in effect for this context

Returns:MappingDefaults

The mapping defaults.

Annotations
@Override
getMetadataCollectorback to summary
public InFlightMetadataCollector getMetadataCollector()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getMetadataCollector.

Doc from org.hibernate.boot.spi.MetadataBuildingContext.getMetadataCollector.

Deprecated

as a consequence of InFlightMetadataCollector being deprecated. See corresponding docs for further information.

Access to the collector of metadata as we build it.

Returns:InFlightMetadataCollector

The metadata collector.

Annotations
@Override
getObjectNameNormalizerback to summary
public ObjectNameNormalizer getObjectNameNormalizer()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getObjectNameNormalizer.

Doc from org.hibernate.boot.spi.MetadataBuildingContext.getObjectNameNormalizer.

Not sure how I feel about this exposed here

Returns:ObjectNameNormalizer

The ObjectNameNormalizer

Annotations
@Override
getTypeDefinitionRegistryback to summary
public TypeDefinitionRegistryStandardImpl getTypeDefinitionRegistry()

Implements org.hibernate.boot.spi.MetadataBuildingContext.getTypeDefinitionRegistry.

Annotations
@Override