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.*, .Map, org.hibernate.AssertionFailure, .EntityMode, org.hibernate.util.JoinedIterator, .SingletonIterator

A sublass in a table-per-class-hierarchy mapping
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private Class<T>
private final int
private PersistentClass
Inherited from org.hibernate.mapping.PersistentClass:
NOT_NULL_DISCRIMINATOR_MAPPINGNULL_DISCRIMINATOR_MAPPINGoptimisticLockModesynchronizedTables

Constructor Summary

AccessConstructor and Description
public

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<T>
public Map<K, V>
public KeyValue
public Component
public Property
public Iterator<E>
public int
public KeyValue
public Iterator<E>
public int
public Iterator<E>
public int
public RootClass
public Table
public int
public PersistentClass
public Set<E>
public Table
public Iterator<E>
public String
public Map<K, V>
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
public boolean
pack-priv int
public void
public void
Inherited from org.hibernate.mapping.PersistentClass:
addFilteraddSubclassaddSynchronizedTableaddTuplizercheckColumnDuplicationcheckColumnDuplicationcheckPropertyColumnDuplicationcreatePrimaryKeygetBatchSizegetClassNamegetCustomSQLDeletegetCustomSQLDeleteCheckStylegetCustomSQLInsertgetCustomSQLInsertCheckStylegetCustomSQLUpdategetCustomSQLUpdateCheckStylegetDeclaredIdentifierMappergetDeclaredPropertyIteratorgetDirectSubclassesgetDiscriminatorColumnIteratorgetDiscriminatorValuegetEntityNamegetIdentityTablegetJoinIteratorgetJoinNumbergetJpaEntityNamegetLoaderNamegetMappedClassgetMetaAttributegetMetaAttributesgetNodeNamegetNonDuplicatedPropertyIteratorgetPropertygetPropertyIteratorgetProxyInterfacegetProxyInterfaceNamegetRecursivePropertygetReferenceablePropertyIteratorgetReferencedPropertygetSubclassClosureIteratorgetSubclassIteratorgetSubclassJoinClosureIteratorgetSubclassPropertyClosureIteratorgetSubclassSpangetSubclassTableClosureIteratorgetSuperMappedSuperclassgetTemporaryIdTableDDLgetTemporaryIdTableNamegetUnjoinedPropertyIteratorhasDom4jRepresentationhasIdentifierMapperhasNaturalIdhasPojoRepresentationhasSelectBeforeUpdatehasSubclassesisAbstractisCustomDeleteCallableisCustomInsertCallableisCustomUpdateCallableisDiscriminatorValueNotNullisDiscriminatorValueNullisLazyprepareTemporaryTablessetAbstractsetBatchSizesetClassNamesetCustomSQLDeletesetCustomSQLInsertsetCustomSQLUpdatesetDeclaredIdentifierMappersetDiscriminatorValuesetDynamicInsertsetDynamicUpdatesetEntityNamesetIdentifierMappersetJpaEntityNamesetLazysetLoaderNamesetMetaAttributessetNodeNamesetOptimisticLockModesetProxyInterfaceNamesetSelectBeforeUpdatesetSubselectLoadableCollectionssetSuperMappedSuperclasstoStringuseDynamicInsertuseDynamicUpdatevalidate

Field Detail

classPersisterClassback to summary
private Class<T> classPersisterClass
subclassIdback to summary
private final int subclassId
superclassback to summary
private PersistentClass superclass

Constructor Detail

Subclassback to summary
public Subclass(PersistentClass superclass)

Method Detail

acceptback to summary
public Object accept(PersistentClassVisitor mv)

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

addJoinback to summary
public void addJoin(Join j)

Overrides org.hibernate.mapping.PersistentClass.addJoin.

addMappedsuperclassPropertyback to summary
public void addMappedsuperclassProperty(Property p)

Overrides org.hibernate.mapping.PersistentClass.addMappedsuperclassProperty.

addPropertyback to summary
public void addProperty(Property p)

Overrides org.hibernate.mapping.PersistentClass.addProperty.

addSubclassJoinback to summary
protected void addSubclassJoin(Join j)

Overrides org.hibernate.mapping.PersistentClass.addSubclassJoin.

addSubclassPropertyback to summary
protected void addSubclassProperty(Property p)

Overrides org.hibernate.mapping.PersistentClass.addSubclassProperty.

addSubclassTableback to summary
protected void addSubclassTable(Table table)

Overrides org.hibernate.mapping.PersistentClass.addSubclassTable.

createForeignKeyback to summary
public void createForeignKey()
getCacheConcurrencyStrategyback to summary
public String getCacheConcurrencyStrategy()

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

getDeclaredIdentifierPropertyback to summary
public Property getDeclaredIdentifierProperty()

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

getDeclaredVersionback to summary
public Property getDeclaredVersion()

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

getDiscriminatorback to summary
public Value getDiscriminator()

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

getEntityPersisterClassback to summary
public Class<T> getEntityPersisterClass()

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

getFilterMapback to summary
public Map<K, V> getFilterMap()

Overrides org.hibernate.mapping.PersistentClass.getFilterMap.

Implements org.hibernate.mapping.Filterable.getFilterMap.

getIdentifierback to summary
public KeyValue getIdentifier()

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

getIdentifierMapperback to summary
public Component getIdentifierMapper()

Overrides org.hibernate.mapping.PersistentClass.getIdentifierMapper.

getIdentifierPropertyback to summary
public Property getIdentifierProperty()

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

getJoinClosureIteratorback to summary
public Iterator<E> getJoinClosureIterator()

Overrides org.hibernate.mapping.PersistentClass.getJoinClosureIterator.

getJoinClosureSpanback to summary
public int getJoinClosureSpan()

Overrides org.hibernate.mapping.PersistentClass.getJoinClosureSpan.

getKeyback to summary
public KeyValue getKey()

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

getKeyClosureIteratorback to summary
public Iterator<E> getKeyClosureIterator()

Implements abstract org.hibernate.mapping.PersistentClass.getKeyClosureIterator.

getOptimisticLockModeback to summary
public int getOptimisticLockMode()

Implements abstract org.hibernate.mapping.PersistentClass.getOptimisticLockMode.

getPropertyClosureIteratorback to summary
public Iterator<E> getPropertyClosureIterator()

Implements abstract org.hibernate.mapping.PersistentClass.getPropertyClosureIterator.

getPropertyClosureSpanback to summary
public int getPropertyClosureSpan()

Overrides org.hibernate.mapping.PersistentClass.getPropertyClosureSpan.

getRootClassback to summary
public RootClass getRootClass()

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

getRootTableback to summary
public Table getRootTable()

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

getSubclassIdback to summary
public int getSubclassId()

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

getSuperclassback to summary
public PersistentClass getSuperclass()

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

getSynchronizedTablesback to summary
public Set<E> getSynchronizedTables()

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

getTableback to summary
public Table getTable()

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

getTableClosureIteratorback to summary
public Iterator<E> getTableClosureIterator()

Implements abstract org.hibernate.mapping.PersistentClass.getTableClosureIterator.

getTuplizerImplClassNameback to summary
public String getTuplizerImplClassName(EntityMode mode)

Overrides org.hibernate.mapping.PersistentClass.getTuplizerImplClassName.

getTuplizerMapback to summary
public Map<K, V> getTuplizerMap()

Overrides org.hibernate.mapping.PersistentClass.getTuplizerMap.

getVersionback to summary
public Property getVersion()

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

getWhereback to summary
public String getWhere()

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

hasEmbeddedIdentifierback to summary
public boolean hasEmbeddedIdentifier()

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

hasIdentifierPropertyback to summary
public boolean hasIdentifierProperty()

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

hasSubselectLoadableCollectionsback to summary
public boolean hasSubselectLoadableCollections()

Overrides org.hibernate.mapping.PersistentClass.hasSubselectLoadableCollections.

isClassOrSuperclassJoinback to summary
public boolean isClassOrSuperclassJoin(Join join)

Overrides org.hibernate.mapping.PersistentClass.isClassOrSuperclassJoin.

isClassOrSuperclassTableback to summary
public boolean isClassOrSuperclassTable(Table table)

Overrides org.hibernate.mapping.PersistentClass.isClassOrSuperclassTable.

isDiscriminatorInsertableback to summary
public boolean isDiscriminatorInsertable()

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

isExplicitPolymorphismback to summary
public boolean isExplicitPolymorphism()

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

isForceDiscriminatorback to summary
public boolean isForceDiscriminator()

Overrides org.hibernate.mapping.PersistentClass.isForceDiscriminator.

isInheritedback to summary
public boolean isInherited()

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

isJoinedSubclassback to summary
public boolean isJoinedSubclass()

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

isLazyPropertiesCacheableback to summary
public boolean isLazyPropertiesCacheable()

Implements abstract org.hibernate.mapping.PersistentClass.isLazyPropertiesCacheable.

isMutableback to summary
public boolean isMutable()

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

isPolymorphicback to summary
public boolean isPolymorphic()

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

isVersionedback to summary
public boolean isVersioned()

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

nextSubclassIdback to summary
pack-priv int nextSubclassId()

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

setEntityPersisterClassback to summary
public void setEntityPersisterClass(Class<T> classPersisterClass)

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

setSuperclassback to summary
public void setSuperclass(PersistentClass superclass)