Class SubclassEntitySourceImpl
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.SubclassEntitySourceImpl
- All Implemented Interfaces:
Helper.InLineViewNameInferrer
,AttributeSourceContainer
,EntityNamingSourceContributor
,EntitySource
,IdentifiableTypeSource
,SubclassEntitySource
,ToolingHintContextContainer
- Direct Known Subclasses:
JoinedSubclassEntitySourceImpl
public class SubclassEntitySourceImpl
extends AbstractEntitySourceImpl
implements SubclassEntitySource
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SubclassEntitySourceImpl
(MappingDocument sourceMappingDocument, JaxbHbmEntityBaseDefinition entityElement, EntitySource container) -
Method Summary
Modifier and TypeMethodDescriptionGet the actual discriminator value in case of a single table inheritanceObtain the primary table for this entity.Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractEntitySourceImpl
afterInstantiation, attributeSources, buildAttributeSources, 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, jaxbEntityMapping
Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
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.model.source.spi.AttributeSourceContainer
attributeSources, getAttributePathBase, getAttributeRoleBase
Methods inherited from interface org.hibernate.boot.model.source.spi.EntityNamingSourceContributor
getEntityNamingSource
Methods inherited from interface org.hibernate.boot.model.source.spi.EntitySource
getBatchSize, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlInsert, getCustomSqlUpdate, getFilterSources, getNamedNativeQueries, getNamedQueries, getProxy, getSecondaryTableMap, getSynchronizedTableNames, getXmlNodeName, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate
Methods inherited from interface org.hibernate.boot.model.source.spi.IdentifiableTypeSource
getHierarchy, getJpaCallbackClasses, getLocalMetadataBuildingContext, getOrigin, getSubTypes, getTypeName
Methods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Constructor Details
-
SubclassEntitySourceImpl
protected SubclassEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmEntityBaseDefinition entityElement, EntitySource container)
-
-
Method Details
-
getPrimaryTable
Description copied from interface:EntitySource
Obtain the primary table for this entity.- Specified by:
getPrimaryTable
in interfaceEntitySource
- Returns:
- The primary table.
-
getDiscriminatorMatchValue
Description copied from interface:EntitySource
Get the actual discriminator value in case of a single table inheritance- Specified by:
getDiscriminatorMatchValue
in interfaceEntitySource
- 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
- Specified by:
getSuperType
in interfaceIdentifiableTypeSource
-