Top Description Fields Constructors Methods
org.hibernate.mapping

public Class Subclass

extends PersistentClass
Class Inheritance
Known Direct Subclasses
org.hibernate.mapping.UnionSubclass, org.hibernate.mapping.JoinedSubclass, org.hibernate.mapping.SingleTableSubclass
Imports
java.util.ArrayList, .HashSet, .Iterator, .List, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.engine.OptimisticLockStyle, org.hibernate.internal.FilterConfiguration, org.hibernate.internal.util.collections.JoinedList, org.hibernate.persister.entity.EntityPersister

A mapping model object that represents a subclass in an entity class inheritance hierarchy.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private Class<? extends EntityPersister>
private final int
private PersistentClass
Inherited from org.hibernate.mapping.PersistentClass:
NOT_NULL_DISCRIMINATOR_MAPPINGNULL_DISCRIMINATOR_MAPPINGsynchronizedTables

Constructor Summary

AccessConstructor and Description
public
Subclass(PersistentClass superclass, MetadataBuildingContext buildingContext)

Method Summary

Modifier and TypeMethod and Description
public Object
public void
public void
public void
protected void
protected void
protected void
public void
public String
public Property
public Property
public Value
public Class<? extends EntityPersister>
public List<FilterConfiguration>
public KeyValue
public Component
public Property
public List<Join>
public int
public KeyValue
public List<KeyValue>
public String
public OptimisticLockStyle
public List<Property>
public int
public RootClass
public Table
public int
public PersistentClass
public Set<String>
public Table
public List<Table>
public Property
public String
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
pack-priv int
public void
public void
Inherited from org.hibernate.mapping.PersistentClass:
addCallbackDefinitionsaddCheckConstraintaddFilteraddSubclassaddSynchronizedTableapplyPropertyassignCheckConstraintsToTablecheckColumnDuplicationcontainscreatePrimaryKeyfindSecondaryTablefindTablegetBatchSizegetCallbackDefinitionsgetCheckConstraintsgetClassNamegetContributorgetCustomSQLDeletegetCustomSQLDeleteCheckStylegetCustomSQLInsertgetCustomSQLInsertCheckStylegetCustomSQLUpdategetCustomSQLUpdateCheckStylegetDeclaredIdentifierMappergetDeclaredPropertiesgetDirectSubclassesgetDiscriminatorValuegetEntityNamegetIdentityTablegetImplicitTablegetJoinNumbergetJoinsgetJpaEntityNamegetLoaderNamegetMappedClassgetMetaAttributegetMetaAttributesgetNonDuplicatedPropertiesgetOptimisticLockModegetPropertiesgetPropertygetProxyInterfacegetProxyInterfaceNamegetRecursivePropertygetReferenceablePropertiesgetReferencedPropertygetSecondaryTablegetServiceRegistrygetSubclassClosuregetSubclassesgetSubclassJoinClosuregetSubclassPropertygetSubclassPropertyClosuregetSubclassSpangetSubclassTableClosuregetSubTypesgetSuperMappedSuperclassgetSuperPersistentClassgetSuperTypegetTablegetUnjoinedPropertieshasCollectionNotReferencingPKhasIdentifierMapperhasNaturalIdhasPartitionedSelectionMappinghasPojoRepresentationhasPropertyhasSelectBeforeUpdatehasSubclassesisAbstractisCachedisCachingExplicitlyRequestedisCustomDeleteCallableisCustomInsertCallableisCustomUpdateCallableisDefinedOnMultipleSubclassesisDiscriminatorValueNotNullisDiscriminatorValueNullisLazyisPropertyDefinedInHierarchyisPropertyDefinedInSuperHierarchyprepareForMappingModelsetAbstractsetBatchSizesetCachedsetCachingExplicitlyRequestedsetClassNamesetCustomSqlDeletesetCustomSQLDeletesetCustomSqlInsertsetCustomSQLInsertsetCustomSqlUpdatesetCustomSQLUpdatesetDeclaredIdentifierMappersetDiscriminatorValuesetDynamicInsertsetDynamicUpdatesetEntityNamesetIdentifierMappersetJpaEntityNamesetLazysetLoaderNamesetMetaAttributessetOptimisticLockModesetOptimisticLockStylesetProxyInterfaceNamesetSelectBeforeUpdatesetSubselectLoadableCollectionssetSuperMappedSuperclasstoStringuseDynamicInsertuseDynamicUpdatevalidate

Field Detail

classPersisterClassback to summary
private Class<? extends EntityPersister> classPersisterClass
subclassIdback to summary
private final int subclassId
superclassback to summary
private PersistentClass superclass

Constructor Detail

Subclassback to summary
public Subclass(PersistentClass superclass, MetadataBuildingContext buildingContext)

Method Detail

acceptback to summary
public Object accept(PersistentClassVisitor mv)

Implements abstract org.hibernate.mapping.PersistentClass.accept.

Annotations
@Override
addJoinback to summary
public void addJoin(Join j)

Overrides org.hibernate.mapping.PersistentClass.addJoin.

Annotations
@Override
addMappedSuperclassPropertyback to summary
public void addMappedSuperclassProperty(Property property)

Overrides org.hibernate.mapping.PersistentClass.addMappedSuperclassProperty.

Annotations
@Override
addPropertyback to summary
public void addProperty(Property property)

Overrides org.hibernate.mapping.PersistentClass.addProperty.

Implements org.hibernate.mapping.AttributeContainer.addProperty.

Doc from org.hibernate.mapping.AttributeContainer.addProperty.

Add a property to this PersistentClass or Join.

Annotations
@Override
addSubclassJoinback to summary
protected void addSubclassJoin(Join j)

Overrides org.hibernate.mapping.PersistentClass.addSubclassJoin.

Annotations
@Override
addSubclassPropertyback to summary
protected void addSubclassProperty(Property p)

Overrides org.hibernate.mapping.PersistentClass.addSubclassProperty.

Annotations
@Override
addSubclassTableback to summary
protected void addSubclassTable(Table table)

Overrides org.hibernate.mapping.PersistentClass.addSubclassTable.

Annotations
@Override
createForeignKeyback to summary
public void createForeignKey()
getCacheConcurrencyStrategyback to summary
public String getCacheConcurrencyStrategy()

Implements abstract org.hibernate.mapping.PersistentClass.getCacheConcurrencyStrategy.

Annotations
@Override
getDeclaredIdentifierPropertyback to summary
public Property getDeclaredIdentifierProperty()

Implements abstract org.hibernate.mapping.PersistentClass.getDeclaredIdentifierProperty.

Annotations
@Override
getDeclaredVersionback to summary
public Property getDeclaredVersion()

Implements abstract org.hibernate.mapping.PersistentClass.getDeclaredVersion.

Annotations
@Override
getDiscriminatorback to summary
public Value getDiscriminator()

Implements abstract org.hibernate.mapping.PersistentClass.getDiscriminator.

Annotations
@Override
getEntityPersisterClassback to summary
public Class<? extends EntityPersister> getEntityPersisterClass()

Implements abstract org.hibernate.mapping.PersistentClass.getEntityPersisterClass.

Annotations
@Override
getFiltersback to summary
public List<FilterConfiguration> getFilters()

Overrides org.hibernate.mapping.PersistentClass.getFilters.

Implements org.hibernate.mapping.Filterable.getFilters.

Annotations
@Override
getIdentifierback to summary
public KeyValue getIdentifier()

Implements abstract org.hibernate.mapping.PersistentClass.getIdentifier.

Annotations
@Override
getIdentifierMapperback to summary
public Component getIdentifierMapper()

Overrides org.hibernate.mapping.PersistentClass.getIdentifierMapper.

Annotations
@Override
getIdentifierPropertyback to summary
public Property getIdentifierProperty()

Implements abstract org.hibernate.mapping.PersistentClass.getIdentifierProperty.

Annotations
@Override
getJoinClosureback to summary
public List<Join> getJoinClosure()

Overrides org.hibernate.mapping.PersistentClass.getJoinClosure.

Annotations
@Override
getJoinClosureSpanback to summary
public int getJoinClosureSpan()

Overrides org.hibernate.mapping.PersistentClass.getJoinClosureSpan.

Annotations
@Override
getKeyback to summary
public KeyValue getKey()

Implements abstract org.hibernate.mapping.PersistentClass.getKey.

Annotations
@Override
getKeyClosureback to summary
public List<KeyValue> getKeyClosure()

Implements abstract org.hibernate.mapping.PersistentClass.getKeyClosure.

Annotations
@Override
getNaturalIdCacheRegionNameback to summary
public String getNaturalIdCacheRegionName()

Implements abstract org.hibernate.mapping.PersistentClass.getNaturalIdCacheRegionName.

Annotations
@Override
getOptimisticLockStyleback to summary
public OptimisticLockStyle getOptimisticLockStyle()

Overrides org.hibernate.mapping.PersistentClass.getOptimisticLockStyle.

Annotations
@Override
getPropertyClosureback to summary
public List<Property> getPropertyClosure()

Implements abstract org.hibernate.mapping.PersistentClass.getPropertyClosure.

Annotations
@Override
getPropertyClosureSpanback to summary
public int getPropertyClosureSpan()

Overrides org.hibernate.mapping.PersistentClass.getPropertyClosureSpan.

Annotations
@Override
getRootClassback to summary
public RootClass getRootClass()

Implements abstract org.hibernate.mapping.PersistentClass.getRootClass.

Annotations
@Override
getRootTableback to summary
public Table getRootTable()

Implements abstract org.hibernate.mapping.PersistentClass.getRootTable.

Annotations
@Override
getSubclassIdback to summary
public int getSubclassId()

Implements abstract org.hibernate.mapping.PersistentClass.getSubclassId.

Annotations
@Override
getSuperclassback to summary
public PersistentClass getSuperclass()

Implements abstract org.hibernate.mapping.PersistentClass.getSuperclass.

Annotations
@Override
getSynchronizedTablesback to summary
public Set<String> getSynchronizedTables()

Implements abstract org.hibernate.mapping.PersistentClass.getSynchronizedTables.

Annotations
@Override
getTableback to summary
public Table getTable()

Implements abstract org.hibernate.mapping.PersistentClass.getTable.

Implements org.hibernate.mapping.AttributeContainer.getTable.

Annotations
@Override
getTableClosureback to summary
public List<Table> getTableClosure()

Implements abstract org.hibernate.mapping.PersistentClass.getTableClosure.

Annotations
@Override
getVersionback to summary
public Property getVersion()

Implements abstract org.hibernate.mapping.PersistentClass.getVersion.

Annotations
@Override
getWhereback to summary
public String getWhere()

Implements abstract org.hibernate.mapping.PersistentClass.getWhere.

Annotations
@Override
hasEmbeddedIdentifierback to summary
public boolean hasEmbeddedIdentifier()

Implements abstract org.hibernate.mapping.PersistentClass.hasEmbeddedIdentifier.

Annotations
@Override
hasIdentifierPropertyback to summary
public boolean hasIdentifierProperty()

Implements abstract org.hibernate.mapping.PersistentClass.hasIdentifierProperty.

Annotations
@Override
hasSubselectLoadableCollectionsback to summary
public boolean hasSubselectLoadableCollections()

Overrides org.hibernate.mapping.PersistentClass.hasSubselectLoadableCollections.

Annotations
@Override
isClassOrSuperclassJoinback to summary
public boolean isClassOrSuperclassJoin(Join join)

Overrides org.hibernate.mapping.PersistentClass.isClassOrSuperclassJoin.

Annotations
@Override
isClassOrSuperclassTableback to summary
public boolean isClassOrSuperclassTable(Table table)

Overrides org.hibernate.mapping.PersistentClass.isClassOrSuperclassTable.

Annotations
@Override
isDiscriminatorInsertableback to summary
public boolean isDiscriminatorInsertable()

Implements abstract org.hibernate.mapping.PersistentClass.isDiscriminatorInsertable.

Annotations
@Override
isExplicitPolymorphismback to summary
public boolean isExplicitPolymorphism()

Implements abstract org.hibernate.mapping.PersistentClass.isExplicitPolymorphism.

Annotations
@Override
isForceDiscriminatorback to summary
public boolean isForceDiscriminator()

Overrides org.hibernate.mapping.PersistentClass.isForceDiscriminator.

Annotations
@Override
isInheritedback to summary
public boolean isInherited()

Implements abstract org.hibernate.mapping.PersistentClass.isInherited.

Annotations
@Override
isJoinedSubclassback to summary
public boolean isJoinedSubclass()

Implements abstract org.hibernate.mapping.PersistentClass.isJoinedSubclass.

Annotations
@Override
isMutableback to summary
public boolean isMutable()

Implements abstract org.hibernate.mapping.PersistentClass.isMutable.

Annotations
@Override
isPolymorphicback to summary
public boolean isPolymorphic()

Implements abstract org.hibernate.mapping.PersistentClass.isPolymorphic.

Annotations
@Override
isVersionedback to summary
public boolean isVersioned()

Implements abstract org.hibernate.mapping.PersistentClass.isVersioned.

Annotations
@Override
nextSubclassIdback to summary
pack-priv int nextSubclassId()

Implements abstract org.hibernate.mapping.PersistentClass.nextSubclassId.

Annotations
@Override
setEntityPersisterClassback to summary
public void setEntityPersisterClass(Class<? extends EntityPersister> classPersisterClass)

Implements abstract org.hibernate.mapping.PersistentClass.setEntityPersisterClass.

Annotations
@Override
setSuperclassback to summary
public void setSuperclass(PersistentClass superclass)