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
ConstructorsModifierConstructorDescriptionprotectedSubclassEntitySourceImpl(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, jaxbEntityMappingMethods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocumentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.model.source.spi.AttributeSourceContainer
attributeSources, getAttributePathBase, getAttributeRoleBaseMethods inherited from interface org.hibernate.boot.model.source.spi.EntityNamingSourceContributor
getEntityNamingSourceMethods 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, isSelectBeforeUpdateMethods inherited from interface org.hibernate.boot.model.source.spi.IdentifiableTypeSource
getHierarchy, getJpaCallbackClasses, getLocalMetadataBuildingContext, getOrigin, getSubTypes, getTypeNameMethods 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:EntitySourceObtain the primary table for this entity.- Specified by:
getPrimaryTablein interfaceEntitySource- Returns:
- The primary table.
-
getDiscriminatorMatchValue
Description copied from interface:EntitySourceGet the actual discriminator value in case of a single table inheritance- Specified by:
getDiscriminatorMatchValuein interfaceEntitySource- 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
- Specified by:
getSuperTypein interfaceIdentifiableTypeSource
-