Top Description Fields Constructors Methods
org.hibernate.mapping

public Class JoinedSubclass

extends Subclass
implements TableOwner
Class Inheritance
All Implemented Interfaces
org.hibernate.mapping.TableOwner
Imports
java.util.Iterator, org.hibernate.MappingException, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.engine.spi.Mapping

A subclass in a table-per-subclass mapping
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private KeyValue
private Table
table

Deprecated as a consequence of Table being deprecated.

Constructor Summary

AccessConstructor and Description
public
JoinedSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)

Method Summary

Modifier and TypeMethod and Description
public Object
public KeyValue
public Iterator<E>
getReferenceablePropertyIterator()

Overrides org.hibernate.mapping.PersistentClass.getReferenceablePropertyIterator.

Build an iterator of properties which may be referenced in association mappings.
public Table
getTable()

Overrides org.hibernate.mapping.Subclass.getTable.

Deprecated as a consequence of Table being deprecated.
public void
public void
setTable(Table table)

Implements org.hibernate.mapping.TableOwner.setTable.

Deprecated as a consequence of Table being deprecated.
public void
Inherited from org.hibernate.mapping.Subclass:
addJoinaddMappedsuperclassPropertyaddPropertyaddSubclassJoinaddSubclassPropertyaddSubclassTablecreateForeignKeygetCacheConcurrencyStrategygetDeclaredIdentifierPropertygetDeclaredVersiongetDiscriminatorgetEntityPersisterClassgetFiltersgetIdentifiergetIdentifierMappergetIdentifierPropertygetJoinClosureIteratorgetJoinClosureSpangetKeyClosureIteratorgetNaturalIdCacheRegionNamegetOptimisticLockStylegetPropertyClosureIteratorgetPropertyClosureSpangetRootClassgetRootTablegetSubclassIdgetSuperclassgetSynchronizedTablesgetTableClosureIteratorgetTuplizerImplClassNamegetTuplizerMapgetVersiongetWherehasEmbeddedIdentifierhasIdentifierPropertyhasSubselectLoadableCollectionsisClassOrSuperclassJoinisClassOrSuperclassTableisDiscriminatorInsertableisExplicitPolymorphismisForceDiscriminatorisInheritedisJoinedSubclassisMutableisPolymorphicisVersionednextSubclassIdsetEntityPersisterClasssetSuperclass

Field Detail

keyback to summary
private KeyValue key
tableback to summary
private Table table

Deprecated

as a consequence of Table being deprecated. See corresponding docs for further information.

Constructor Detail

JoinedSubclassback to summary
public JoinedSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)

Method Detail

acceptback to summary
public Object accept(PersistentClassVisitor mv)

Overrides org.hibernate.mapping.Subclass.accept.

getKeyback to summary
public KeyValue getKey()

Overrides org.hibernate.mapping.Subclass.getKey.

getReferenceablePropertyIteratorback to summary
public Iterator<E> getReferenceablePropertyIterator()

Overrides org.hibernate.mapping.PersistentClass.getReferenceablePropertyIterator.

Doc from org.hibernate.mapping.PersistentClass.getReferenceablePropertyIterator.

Build an iterator of properties which may be referenced in association mappings.

Includes properties defined in superclasses of the mapping inheritance. Includes all properties defined as part of a join.

Returns:Iterator<E>

The referenceable property iterator.

getTableback to summary
public Table getTable()

Overrides org.hibernate.mapping.Subclass.getTable.

Deprecated

as a consequence of Table being deprecated. See corresponding docs for further information.

setKeyback to summary
public void setKey(KeyValue key)
setTableback to summary
public void setTable(Table table)

Implements org.hibernate.mapping.TableOwner.setTable.

Deprecated

as a consequence of Table being deprecated. See corresponding docs for further information.

validateback to summary
public void validate(Mapping mapping) throws MappingException

Overrides org.hibernate.mapping.PersistentClass.validate.