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
Constructors Modifier Constructor Description protected
SubclassEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmEntityBaseDefinition entityElement, EntitySource container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDiscriminatorMatchValue()
Get the actual discriminator value in case of a single table inheritanceTableSpecificationSource
getPrimaryTable()
Obtain the primary table for this entity.IdentifiableTypeSource
getSuperType()
-
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, quoteIdentifiersLocalToEntity
-
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, quoteIdentifiersLocalToEntity
-
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 Detail
-
SubclassEntitySourceImpl
protected SubclassEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmEntityBaseDefinition entityElement, EntitySource container)
-
-
Method Detail
-
getPrimaryTable
public TableSpecificationSource getPrimaryTable()
Description copied from interface:EntitySource
Obtain the primary table for this entity.- Specified by:
getPrimaryTable
in interfaceEntitySource
- 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- 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
public IdentifiableTypeSource getSuperType()
- Specified by:
getSuperType
in interfaceIdentifiableTypeSource
-
-