Package org.hibernate.boot.spi
Class AbstractDelegatingMetadataBuilderImplementor<T extends MetadataBuilderImplementor>
- java.lang.Object
-
- org.hibernate.boot.spi.AbstractDelegatingMetadataBuilderImplementor<T>
-
- Type Parameters:
T
- The type of a specific sub-class; Allows sub-classes to narrow down the return-type of the contract methods to a specialization ofMetadataBuilderImplementor
- All Implemented Interfaces:
MetadataBuilder
,MetadataBuilderImplementor
public abstract class AbstractDelegatingMetadataBuilderImplementor<T extends MetadataBuilderImplementor> extends java.lang.Object implements MetadataBuilderImplementor
Convenience base class for custom implementors ofMetadataBuilderImplementor
using delegation.
-
-
Constructor Summary
Constructors Constructor Description AbstractDelegatingMetadataBuilderImplementor(MetadataBuilderImplementor delegate)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MetadataBuilder
applyAccessType(AccessType accessType)
Specify the second-level access-type to be used by default for entities and collections that define second-level caching, but do not specify a granular access-type.MetadataBuilder
applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)
Specify a particular ArchiveDescriptorFactory instance to use in scanning.MetadataBuilder
applyAttributeConverter(java.lang.Class<? extends AttributeConverter> attributeConverterClass)
Adds an AttributeConverter by its Class.MetadataBuilder
applyAttributeConverter(java.lang.Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)
Adds an AttributeConverter by its Class plus a boolean indicating whether to auto apply it.MetadataBuilder
applyAttributeConverter(AttributeConverter attributeConverter)
Adds an AttributeConverter instance.MetadataBuilder
applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)
Adds an AttributeConverter instance, explicitly indicating whether to auto-apply.MetadataBuilder
applyAttributeConverter(AttributeConverterDefinition definition)
Adds an AttributeConverter by a AttributeConverterDefinitionMetadataBuilder
applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
MetadataBuilder
applyBasicType(BasicType type)
Specify an additional or overridden basic type mapping.MetadataBuilder
applyBasicType(BasicType type, java.lang.String... keys)
Specify an additional or overridden basic type mapping supplying specific registration keys.MetadataBuilder
applyBasicType(CompositeUserType type, java.lang.String... keys)
Register an additional or overridden composite custom type mapping.MetadataBuilder
applyBasicType(UserType type, java.lang.String... keys)
Register an additional or overridden custom type mapping.MetadataBuilder
applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
Apply a CacheRegionDefinition to be applied to an entity, collection or query while building the Metadata object.MetadataBuilder
applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)
MetadataBuilder
applyImplicitCatalogName(java.lang.String implicitCatalogName)
Specify the implicit catalog name to apply to any unqualified database names.MetadataBuilder
applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)
Specify the ImplicitNamingStrategy to use in building the Metadata.MetadataBuilder
applyImplicitSchemaName(java.lang.String implicitSchemaName)
Specify the implicit schema name to apply to any unqualified database names.MetadataBuilder
applyIndexView(org.jboss.jandex.IndexView jandexView)
Allows specifying a specific Jandex index to use for reading annotation information.MetadataBuilder
applyPhysicalNamingStrategy(PhysicalNamingStrategy namingStrategy)
Specify the PhysicalNamingStrategy to use in building the Metadata.MetadataBuilder
applyScanEnvironment(ScanEnvironment scanEnvironment)
Consider this temporary as discussed onScanEnvironment
MetadataBuilder
applyScanner(Scanner scanner)
Specify a particular Scanner instance to use.MetadataBuilder
applyScanOptions(ScanOptions scanOptions)
Specify the options to be used in performing scanning.MetadataBuilder
applySharedCacheMode(SharedCacheMode cacheMode)
Specify the second-level cache mode to be used.MetadataBuilder
applySourceProcessOrdering(MetadataSourceType... sourceTypes)
Apply a specific ordering to the processing of sources.MetadataBuilder
applySqlFunction(java.lang.String functionName, SQLFunction function)
MetadataBuilder
applyTempClassLoader(java.lang.ClassLoader tempClassLoader)
Apply a ClassLoader for use while building the Metadata.MetadataBuilder
applyTypes(TypeContributor typeContributor)
Apply an explicit TypeContributor (implicit application via ServiceLoader will still happen too)Metadata
build()
Actually build the metamodelprotected MetadataBuilderImplementor
delegate()
MetadataBuilder
enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Should we process or ignore explicitly defined discriminators in the case of joined-subclasses.MetadataBuilder
enableGlobalNationalizedCharacterDataSupport(boolean enabled)
Should nationalized variants of character data be used in the database types? For example, shouldNVARCHAR
be used instead ofVARCHAR
?NCLOB
instead ofCLOB
?MetadataBuilder
enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Similarly toMetadataBuilder.enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean)
, but here how should we treat joined inheritance when there is no explicitly defined discriminator annotations? If enabled, we will handle joined inheritance with no explicit discriminator annotations by implicitly creating one (following the JPA implicit naming rules).MetadataBuilder
enableImplicitForcingOfDiscriminatorsInSelect(boolean supported)
For entities which do not explicitly say, should we force discriminators into SQL selects? The (historical) default isfalse
MetadataBuilder
enableNewIdentifierGeneratorSupport(boolean enable)
Should we enable support for the "new" (since 3.2) identifier generator mappings for handling:GenerationType.SEQUENCE
GenerationType.IDENTITY
GenerationType.TABLE
GenerationType.AUTO
MetadataBuilderImplementor
getDelegate()
Deprecated.usedelegate()
insteadMetadataBuildingOptions
getMetadataBuildingOptions()
Get the options being collected on this MetadataBuilder that will ultimately be used in building the Metadata.protected abstract T
getThis()
Returns a specific implementation.<M extends MetadataBuilder>
Munwrap(java.lang.Class<M> type)
Allows unwrapping this builder as another, more specific type.-
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.MetadataBuilderImplementor
getBootstrapContext
-
-
-
-
Constructor Detail
-
AbstractDelegatingMetadataBuilderImplementor
public AbstractDelegatingMetadataBuilderImplementor(MetadataBuilderImplementor delegate)
-
-
Method Detail
-
getDelegate
@Deprecated public MetadataBuilderImplementor getDelegate()
Deprecated.usedelegate()
insteadKept for compatibility reason but should be removed as soon as possible.
-
delegate
protected MetadataBuilderImplementor delegate()
-
getThis
protected abstract T getThis()
Returns a specific implementation. See the What is the "getThis trick?".
-
applyImplicitSchemaName
public MetadataBuilder applyImplicitSchemaName(java.lang.String implicitSchemaName)
Description copied from interface:MetadataBuilder
Specify the implicit schema name to apply to any unqualified database names. Its default is defined by theAvailableSettings.DEFAULT_SCHEMA
setting if using property-based configuration.- Specified by:
applyImplicitSchemaName
in interfaceMetadataBuilder
- Parameters:
implicitSchemaName
- The implicit schema name- Returns:
this
, for method chaining- See Also:
AvailableSettings.DEFAULT_SCHEMA
-
applyImplicitCatalogName
public MetadataBuilder applyImplicitCatalogName(java.lang.String implicitCatalogName)
Description copied from interface:MetadataBuilder
Specify the implicit catalog name to apply to any unqualified database names. Its default is defined by theAvailableSettings.DEFAULT_CATALOG
setting if using property-based configuration.- Specified by:
applyImplicitCatalogName
in interfaceMetadataBuilder
- Parameters:
implicitCatalogName
- The implicit catalog name- Returns:
this
, for method chaining- See Also:
AvailableSettings.DEFAULT_CATALOG
-
applyImplicitNamingStrategy
public MetadataBuilder applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)
Description copied from interface:MetadataBuilder
Specify the ImplicitNamingStrategy to use in building the Metadata. Its default is defined by theAvailableSettings.IMPLICIT_NAMING_STRATEGY
setting if using property-based configuration.- Specified by:
applyImplicitNamingStrategy
in interfaceMetadataBuilder
- Parameters:
namingStrategy
- The ImplicitNamingStrategy to apply- Returns:
this
, for method chaining- See Also:
AvailableSettings.IMPLICIT_NAMING_STRATEGY
-
applyPhysicalNamingStrategy
public MetadataBuilder applyPhysicalNamingStrategy(PhysicalNamingStrategy namingStrategy)
Description copied from interface:MetadataBuilder
Specify the PhysicalNamingStrategy to use in building the Metadata. Its default is defined by theAvailableSettings.PHYSICAL_NAMING_STRATEGY
setting if using property-based configuration.- Specified by:
applyPhysicalNamingStrategy
in interfaceMetadataBuilder
- Parameters:
namingStrategy
- The PhysicalNamingStrategy to apply- Returns:
this
, for method chaining- See Also:
AvailableSettings.PHYSICAL_NAMING_STRATEGY
-
applySharedCacheMode
public MetadataBuilder applySharedCacheMode(SharedCacheMode cacheMode)
Description copied from interface:MetadataBuilder
Specify the second-level cache mode to be used. This is the cache mode in terms of whether or not to cache. Its default is defined by the setting if using property-based configuration.- Specified by:
applySharedCacheMode
in interfaceMetadataBuilder
- Parameters:
cacheMode
- The cache mode.- Returns:
this
, for method chaining- See Also:
MetadataBuilder.applyAccessType(org.hibernate.cache.spi.access.AccessType)
-
applyAccessType
public MetadataBuilder applyAccessType(AccessType accessType)
Description copied from interface:MetadataBuilder
Specify the second-level access-type to be used by default for entities and collections that define second-level caching, but do not specify a granular access-type. Its default is defined by theAvailableSettings.DEFAULT_CACHE_CONCURRENCY_STRATEGY
setting if using property-based configuration.- Specified by:
applyAccessType
in interfaceMetadataBuilder
- Parameters:
accessType
- The access-type to use as default.- Returns:
this
, for method chaining- See Also:
AvailableSettings.DEFAULT_CACHE_CONCURRENCY_STRATEGY
,MetadataBuilder.applySharedCacheMode(javax.persistence.SharedCacheMode)
-
applyIndexView
public MetadataBuilder applyIndexView(org.jboss.jandex.IndexView jandexView)
Description copied from interface:MetadataBuilder
Allows specifying a specific Jandex index to use for reading annotation information. It is important to understand that if a Jandex index is passed in, it is expected that this Jandex index already contains all entries for all classes. No additional indexing will be done in this case. NOTE : Here for future expansion. At the moment the passed Jandex index is not used.- Specified by:
applyIndexView
in interfaceMetadataBuilder
- Parameters:
jandexView
- The Jandex index to use.- Returns:
this
, for method chaining
-
applyScanOptions
public MetadataBuilder applyScanOptions(ScanOptions scanOptions)
Description copied from interface:MetadataBuilder
Specify the options to be used in performing scanning.- Specified by:
applyScanOptions
in interfaceMetadataBuilder
- Parameters:
scanOptions
- The scan options.- Returns:
this
, for method chaining- See Also:
AvailableSettings.SCANNER_DISCOVERY
-
applyScanEnvironment
public MetadataBuilder applyScanEnvironment(ScanEnvironment scanEnvironment)
Description copied from interface:MetadataBuilder
Consider this temporary as discussed onScanEnvironment
- Specified by:
applyScanEnvironment
in interfaceMetadataBuilder
- Parameters:
scanEnvironment
- The environment for scanning- Returns:
this
, for method chaining
-
applyScanner
public MetadataBuilder applyScanner(Scanner scanner)
Description copied from interface:MetadataBuilder
Specify a particular Scanner instance to use. Its default is defined by theAvailableSettings.SCANNER
setting if using property-based configuration.- Specified by:
applyScanner
in interfaceMetadataBuilder
- Parameters:
scanner
- The scanner to use.- Returns:
this
, for method chaining- See Also:
AvailableSettings.SCANNER
-
applyArchiveDescriptorFactory
public MetadataBuilder applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)
Description copied from interface:MetadataBuilder
Specify a particular ArchiveDescriptorFactory instance to use in scanning. Its default is defined by theAvailableSettings.SCANNER_ARCHIVE_INTERPRETER
setting if using property-based configuration.- Specified by:
applyArchiveDescriptorFactory
in interfaceMetadataBuilder
- Parameters:
factory
- The ArchiveDescriptorFactory to use.- Returns:
this
, for method chaining- See Also:
AvailableSettings.SCANNER_ARCHIVE_INTERPRETER
-
enableNewIdentifierGeneratorSupport
public MetadataBuilder enableNewIdentifierGeneratorSupport(boolean enable)
Description copied from interface:MetadataBuilder
Should we enable support for the "new" (since 3.2) identifier generator mappings for handling: Its default is defined by theAvailableSettings.USE_NEW_ID_GENERATOR_MAPPINGS
setting if using property-based configuration.- Specified by:
enableNewIdentifierGeneratorSupport
in interfaceMetadataBuilder
- Parameters:
enable
-true
to enable;false
to disable;don't call for default.- Returns:
this
, for method chaining- See Also:
AvailableSettings.USE_NEW_ID_GENERATOR_MAPPINGS
-
enableExplicitDiscriminatorsForJoinedSubclassSupport
public MetadataBuilder enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Description copied from interface:MetadataBuilder
Should we process or ignore explicitly defined discriminators in the case of joined-subclasses. The legacy behavior of Hibernate was to ignore the discriminator annotations because Hibernate (unlike some providers) does not need discriminators to determine the concrete type when it comes to joined inheritance. However, for portability reasons we do now allow using explicit discriminators along with joined inheritance. It is configurable though to support legacy apps. Its default is defined by theAvailableSettings.IGNORE_EXPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
setting if using property-based configuration.- Specified by:
enableExplicitDiscriminatorsForJoinedSubclassSupport
in interfaceMetadataBuilder
- Parameters:
enabled
- Should processing (not ignoring) explicit discriminators be enabled?- Returns:
this
, for method chaining- See Also:
AvailableSettings.IGNORE_EXPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
-
enableImplicitDiscriminatorsForJoinedSubclassSupport
public MetadataBuilder enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Description copied from interface:MetadataBuilder
Similarly toMetadataBuilder.enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean)
, but here how should we treat joined inheritance when there is no explicitly defined discriminator annotations? If enabled, we will handle joined inheritance with no explicit discriminator annotations by implicitly creating one (following the JPA implicit naming rules). Again the premise here is JPA portability, bearing in mind that some JPA provider need these discriminators. Its default is defined by theAvailableSettings.IMPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
setting if using property-based configuration.- Specified by:
enableImplicitDiscriminatorsForJoinedSubclassSupport
in interfaceMetadataBuilder
- Parameters:
enabled
- Should we implicitly create discriminator for joined inheritance if one is not explicitly mentioned?- Returns:
this
, for method chaining- See Also:
AvailableSettings.IMPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
-
enableImplicitForcingOfDiscriminatorsInSelect
public MetadataBuilder enableImplicitForcingOfDiscriminatorsInSelect(boolean supported)
Description copied from interface:MetadataBuilder
For entities which do not explicitly say, should we force discriminators into SQL selects? The (historical) default isfalse
Its default is defined by theAvailableSettings.FORCE_DISCRIMINATOR_IN_SELECTS_BY_DEFAULT
setting if using property-based configuration.- Specified by:
enableImplicitForcingOfDiscriminatorsInSelect
in interfaceMetadataBuilder
- Parameters:
supported
-true
indicates we will force the discriminator into the select;false
indicates we will not.- Returns:
this
, for method chaining- See Also:
AvailableSettings.FORCE_DISCRIMINATOR_IN_SELECTS_BY_DEFAULT
-
enableGlobalNationalizedCharacterDataSupport
public MetadataBuilder enableGlobalNationalizedCharacterDataSupport(boolean enabled)
Description copied from interface:MetadataBuilder
Should nationalized variants of character data be used in the database types? For example, shouldNVARCHAR
be used instead ofVARCHAR
?NCLOB
instead ofCLOB
? Its default is defined by theAvailableSettings.USE_NATIONALIZED_CHARACTER_DATA
setting if using property-based configuration.- Specified by:
enableGlobalNationalizedCharacterDataSupport
in interfaceMetadataBuilder
- Parameters:
enabled
-true
says to use nationalized variants;false
says to use the non-nationalized variants.- Returns:
this
, for method chaining- See Also:
AvailableSettings.USE_NATIONALIZED_CHARACTER_DATA
-
applyBasicType
public MetadataBuilder applyBasicType(BasicType type)
Description copied from interface:MetadataBuilder
Specify an additional or overridden basic type mapping.- Specified by:
applyBasicType
in interfaceMetadataBuilder
- Parameters:
type
- The type addition or override.- Returns:
this
, for method chaining
-
applyBasicType
public MetadataBuilder applyBasicType(BasicType type, java.lang.String... keys)
Description copied from interface:MetadataBuilder
Specify an additional or overridden basic type mapping supplying specific registration keys.- Specified by:
applyBasicType
in interfaceMetadataBuilder
- Parameters:
type
- The type addition or override.keys
- The keys under which to register the basic type.- Returns:
this
, for method chaining
-
applyBasicType
public MetadataBuilder applyBasicType(UserType type, java.lang.String... keys)
Description copied from interface:MetadataBuilder
Register an additional or overridden custom type mapping.- Specified by:
applyBasicType
in interfaceMetadataBuilder
- Parameters:
type
- The custom typekeys
- The keys under which to register the custom type.- Returns:
this
, for method chaining
-
applyBasicType
public MetadataBuilder applyBasicType(CompositeUserType type, java.lang.String... keys)
Description copied from interface:MetadataBuilder
Register an additional or overridden composite custom type mapping.- Specified by:
applyBasicType
in interfaceMetadataBuilder
- Parameters:
type
- The composite custom typekeys
- The keys under which to register the composite custom type.- Returns:
this
, for method chaining
-
applyTypes
public MetadataBuilder applyTypes(TypeContributor typeContributor)
Description copied from interface:MetadataBuilder
Apply an explicit TypeContributor (implicit application via ServiceLoader will still happen too)- Specified by:
applyTypes
in interfaceMetadataBuilder
- Parameters:
typeContributor
- The contributor to apply- Returns:
this
, for method chaining
-
applyCacheRegionDefinition
public MetadataBuilder applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
Description copied from interface:MetadataBuilder
Apply a CacheRegionDefinition to be applied to an entity, collection or query while building the Metadata object.- Specified by:
applyCacheRegionDefinition
in interfaceMetadataBuilder
- Parameters:
cacheRegionDefinition
- The cache region definition to apply- Returns:
this
, for method chaining
-
applyTempClassLoader
public MetadataBuilder applyTempClassLoader(java.lang.ClassLoader tempClassLoader)
Description copied from interface:MetadataBuilder
Apply a ClassLoader for use while building the Metadata. Ideally we should avoid accessing ClassLoaders when perform 1st phase of bootstrap. This is a ClassLoader that can be used in cases when we have to. IN EE managed environments, this is the ClassLoader mandated byPersistenceUnitInfo.getNewTempClassLoader()
. This ClassLoader is thrown away by the container afterwards. The idea being that the Class can still be enhanced in the application ClassLoader. In other environments, pass a ClassLoader that performs the same function if desired.- Specified by:
applyTempClassLoader
in interfaceMetadataBuilder
- Parameters:
tempClassLoader
- ClassLoader for use during building the Metadata- Returns:
this
, for method chaining
-
applySourceProcessOrdering
public MetadataBuilder applySourceProcessOrdering(MetadataSourceType... sourceTypes)
Description copied from interface:MetadataBuilder
Apply a specific ordering to the processing of sources. Note that unlike most of the methods on this contract that deal with multiple values internally, this one *replaces* any already set (its more a setter) instead of adding to. Its default is defined by theAvailableSettings.ARTIFACT_PROCESSING_ORDER
setting if using property-based configuration.- Specified by:
applySourceProcessOrdering
in interfaceMetadataBuilder
- Parameters:
sourceTypes
- The types, in the order they should be processed- Returns:
this
for method chaining- See Also:
AvailableSettings.ARTIFACT_PROCESSING_ORDER
-
applySqlFunction
public MetadataBuilder applySqlFunction(java.lang.String functionName, SQLFunction function)
- Specified by:
applySqlFunction
in interfaceMetadataBuilder
-
applyAuxiliaryDatabaseObject
public MetadataBuilder applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
- Specified by:
applyAuxiliaryDatabaseObject
in interfaceMetadataBuilder
-
applyAttributeConverter
public MetadataBuilder applyAttributeConverter(AttributeConverterDefinition definition)
Description copied from interface:MetadataBuilder
Adds an AttributeConverter by a AttributeConverterDefinition- Specified by:
applyAttributeConverter
in interfaceMetadataBuilder
- Parameters:
definition
- The definition- Returns:
this
for method chaining
-
applyAttributeConverter
public MetadataBuilder applyAttributeConverter(java.lang.Class<? extends AttributeConverter> attributeConverterClass)
Description copied from interface:MetadataBuilder
Adds an AttributeConverter by its Class.- Specified by:
applyAttributeConverter
in interfaceMetadataBuilder
- Parameters:
attributeConverterClass
- The AttributeConverter class.- Returns:
this
for method chaining
-
applyAttributeConverter
public MetadataBuilder applyAttributeConverter(java.lang.Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)
Description copied from interface:MetadataBuilder
Adds an AttributeConverter by its Class plus a boolean indicating whether to auto apply it.- Specified by:
applyAttributeConverter
in interfaceMetadataBuilder
- Parameters:
attributeConverterClass
- The AttributeConverter class.autoApply
- Should the AttributeConverter be auto applied to property types as specified by its "entity attribute" parameterized type?- Returns:
this
for method chaining- See Also:
AttributeConverterDefinition.from(Class, boolean)
-
applyAttributeConverter
public MetadataBuilder applyAttributeConverter(AttributeConverter attributeConverter)
Description copied from interface:MetadataBuilder
Adds an AttributeConverter instance.- Specified by:
applyAttributeConverter
in interfaceMetadataBuilder
- Parameters:
attributeConverter
- The AttributeConverter instance.- Returns:
this
for method chaining- See Also:
AttributeConverterDefinition.from(AttributeConverter)
-
applyAttributeConverter
public MetadataBuilder applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)
Description copied from interface:MetadataBuilder
Adds an AttributeConverter instance, explicitly indicating whether to auto-apply.- Specified by:
applyAttributeConverter
in interfaceMetadataBuilder
- Parameters:
attributeConverter
- The AttributeConverter instance.autoApply
- Should the AttributeConverter be auto applied to property types as specified by its "entity attribute" parameterized type?- Returns:
this
for method chaining- See Also:
AttributeConverterDefinition.from(AttributeConverter, boolean)
-
applyIdGenerationTypeInterpreter
public MetadataBuilder applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)
- Specified by:
applyIdGenerationTypeInterpreter
in interfaceMetadataBuilder
-
unwrap
public <M extends MetadataBuilder> M unwrap(java.lang.Class<M> type)
Description copied from interface:MetadataBuilder
Allows unwrapping this builder as another, more specific type.- Specified by:
unwrap
in interfaceMetadataBuilder
- Returns:
- The unwrapped builder.
-
getMetadataBuildingOptions
public MetadataBuildingOptions getMetadataBuildingOptions()
Description copied from interface:MetadataBuilderImplementor
Get the options being collected on this MetadataBuilder that will ultimately be used in building the Metadata.- Specified by:
getMetadataBuildingOptions
in interfaceMetadataBuilderImplementor
- Returns:
- The current building options
-
build
public Metadata build()
Description copied from interface:MetadataBuilder
Actually build the metamodel- Specified by:
build
in interfaceMetadataBuilder
- Returns:
- The built metadata.
-
-