Top Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public Class SubclassEntitySourceImpl

extends AbstractEntitySourceImpl
implements SubclassEntitySource
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.SubclassEntitySource, org.hibernate.boot.model.source.spi.EntitySource, org.hibernate.boot.model.source.spi.EntityNamingSourceContributor, org.hibernate.boot.model.source.spi.ToolingHintContextContainer, org.hibernate.boot.model.source.spi.IdentifiableTypeSource, org.hibernate.boot.model.source.spi.AttributeSourceContainer
Known Direct Subclasses
org.hibernate.boot.model.source.internal.hbm.JoinedSubclassEntitySourceImpl
Imports
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmDiscriminatorSubclassEntityType, .JaxbHbmEntityBaseDefinition, .TableInformationContainer, org.hibernate.boot.model.source.spi.EntitySource, .IdentifiableTypeSource, .SubclassEntitySource, .TableSpecificationSource

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final EntitySource
private final TableSpecificationSource

Constructor Summary

AccessConstructor and Description
protected
SubclassEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmEntityBaseDefinition entityElement, EntitySource container)

Method Summary

Modifier and TypeMethod and Description
public String
getDiscriminatorMatchValue()

Implements org.hibernate.boot.model.source.spi.EntitySource.getDiscriminatorMatchValue.

Get the actual discriminator value in case of a single table inheritance
public TableSpecificationSource
getPrimaryTable()

Implements org.hibernate.boot.model.source.spi.EntitySource.getPrimaryTable.

Obtain the primary table for this entity.
public IdentifiableTypeSource
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractEntitySourceImpl:
addaddafterInstantiationattributeSourcesbuildAttributeSourcesbuildAttributeSourcesextractEntityNamingSourcegetAttributePathBasegetAttributeRoleBasegetBatchSizegetCustomLoaderNamegetCustomPersisterClassNamegetCustomSqlDeletegetCustomSqlInsertgetCustomSqlUpdategetEntityNamingSourcegetFilterSourcesgetHierarchygetJpaCallbackClassesgetLocalMetadataBuildingContextgetNamedNativeQueriesgetNamedQueriesgetOrigingetProxygetSecondaryTableMapgetSubTypesgetSynchronizedTableNamesgetToolingHintContextgetTypeNamegetXmlNodeNameinferInLineViewNameinjectHierarchyisAbstractisDynamicInsertisDynamicUpdateisLazyisSelectBeforeUpdatejaxbEntityMappingquoteIdentifiersLocalToEntity

Field Detail

containerback to summary
private final EntitySource container
primaryTableback to summary
private final TableSpecificationSource primaryTable

Constructor Detail

SubclassEntitySourceImplback to summary
protected SubclassEntitySourceImpl(MappingDocument sourceMappingDocument, JaxbHbmEntityBaseDefinition entityElement, EntitySource container)

Method Detail

getDiscriminatorMatchValueback to summary
public String getDiscriminatorMatchValue()

Implements org.hibernate.boot.model.source.spi.EntitySource.getDiscriminatorMatchValue.

Doc from org.hibernate.boot.model.source.spi.EntitySource.getDiscriminatorMatchValue.

Get the actual discriminator value in case of a single table inheritance

Returns:String

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

Annotations
@Override
getPrimaryTableback to summary
public TableSpecificationSource getPrimaryTable()

Implements org.hibernate.boot.model.source.spi.EntitySource.getPrimaryTable.

Doc from org.hibernate.boot.model.source.spi.EntitySource.getPrimaryTable.

Obtain the primary table for this entity.

Returns:TableSpecificationSource

The primary table.

Annotations
@Override
getSuperTypeback to summary
public IdentifiableTypeSource getSuperType()

Implements org.hibernate.boot.model.source.spi.IdentifiableTypeSource.getSuperType.

Annotations
@Override