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 protectedRootEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmRootEntityType entityElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildAttributeSources(AttributesHelper.Callback attributeBuildingCallback)StringgetDiscriminatorMatchValue()Get the actual discriminator value in case of a single table inheritanceTableSpecificationSourcegetPrimaryTable()Obtain the primary table for this entity.IdentifiableTypeSourcegetSuperType()protected JaxbHbmRootEntityTypejaxbEntityMapping()-
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:
buildAttributeSourcesin classAbstractEntitySourceImpl
-
jaxbEntityMapping
protected JaxbHbmRootEntityType jaxbEntityMapping()
- Overrides:
jaxbEntityMappingin classAbstractEntitySourceImpl
-
getPrimaryTable
public TableSpecificationSource getPrimaryTable()
Description copied from interface:EntitySourceObtain the primary table for this entity.- Returns:
- The primary table.
-
getDiscriminatorMatchValue
public String getDiscriminatorMatchValue()
Description copied from interface:EntitySourceGet the actual discriminator value in case of a single table inheritance- Returns:
- the actual discriminator value in case of a single table inheritance or
nullin case there is no explicit value or a different inheritance scheme
-
getSuperType
public IdentifiableTypeSource getSuperType()
-
-