Class RootEntitySourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.AbstractEntitySourceImpl
-
- org.hibernate.boot.model.source.internal.hbm.RootEntitySourceImpl
-
- All Implemented Interfaces:
Helper.InLineViewNameInferrer
,AttributeSourceContainer
,EntityNamingSourceContributor
,EntitySource
,IdentifiableTypeSource
,ToolingHintContextContainer
public class RootEntitySourceImpl extends AbstractEntitySourceImpl
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RootEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmRootEntityType entityElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildAttributeSources(AttributesHelper.Callback attributeBuildingCallback)
String
getDiscriminatorMatchValue()
Get the actual discriminator value in case of a single table inheritanceTableSpecificationSource
getPrimaryTable()
Obtain the primary table for this entity.IdentifiableTypeSource
getSuperType()
protected JaxbHbmRootEntityType
jaxbEntityMapping()
-
Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractEntitySourceImpl
afterInstantiation, attributeSources, buildAttributeSources, extractEntityNamingSource, getAttributePathBase, getAttributeRoleBase, getBatchSize, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getEntityNamingSource, getFilterSources, getHierarchy, getJpaCallbackClasses, getLocalMetadataBuildingContext, getNamedNativeQueries, getNamedQueries, getOrigin, getProxy, getSecondaryTableMap, getSubTypes, getSynchronizedTableNames, getToolingHintContext, getTypeName, getXmlNodeName, inferInLineViewName, injectHierarchy, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, quoteIdentifiersLocalToEntity
-
Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
-
-
-
Constructor Detail
-
RootEntitySourceImpl
protected RootEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmRootEntityType entityElement)
-
-
Method Detail
-
buildAttributeSources
protected void buildAttributeSources(AttributesHelper.Callback attributeBuildingCallback)
- Overrides:
buildAttributeSources
in classAbstractEntitySourceImpl
-
jaxbEntityMapping
protected JaxbHbmRootEntityType jaxbEntityMapping()
- Overrides:
jaxbEntityMapping
in classAbstractEntitySourceImpl
-
getPrimaryTable
public TableSpecificationSource getPrimaryTable()
Description copied from interface:EntitySource
Obtain the primary table for this entity.- Returns:
- The primary table.
-
getDiscriminatorMatchValue
public String getDiscriminatorMatchValue()
Description copied from interface:EntitySource
Get the actual discriminator value in case of a single table inheritance- Returns:
- the actual discriminator value in case of a single table inheritance or
null
in case there is no explicit value or a different inheritance scheme
-
getSuperType
public IdentifiableTypeSource getSuperType()
-
-