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, .List, org.hibernate.MappingException, org.hibernate.boot.Metadata, org.hibernate.boot.spi.MetadataBuildingContext

A mapping model object that represents a subclass in a "joined" or "table per subclass" inheritance hierarchy.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private KeyValue
private Table

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public Object
public KeyValue
public List<Property>
getReferenceableProperties()

Overrides org.hibernate.mapping.PersistentClass.getReferenceableProperties.

Build a list of properties which may be referenced in association mappings.
public Table
public void
public void
public void
validate(Metadata mapping)

Overrides org.hibernate.mapping.PersistentClass.validate.

Deprecated as a consequence of Metadata being deprecated.
Inherited from org.hibernate.mapping.Subclass:
addJoinaddMappedSuperclassPropertyaddPropertyaddSubclassJoinaddSubclassPropertyaddSubclassTablecreateForeignKeygetCacheConcurrencyStrategygetDeclaredIdentifierPropertygetDeclaredVersiongetDiscriminatorgetEntityPersisterClassgetFiltersgetIdentifiergetIdentifierMappergetIdentifierPropertygetJoinClosuregetJoinClosureSpangetKeyClosuregetNaturalIdCacheRegionNamegetOptimisticLockStylegetPropertyClosuregetPropertyClosureSpangetRootClassgetRootTablegetSubclassIdgetSuperclassgetSynchronizedTablesgetTableClosuregetVersiongetWherehasEmbeddedIdentifierhasIdentifierPropertyhasSubselectLoadableCollectionsisClassOrSuperclassJoinisClassOrSuperclassTableisDiscriminatorInsertableisExplicitPolymorphismisForceDiscriminatorisInheritedisJoinedSubclassisMutableisPolymorphicisVersionednextSubclassIdsetEntityPersisterClasssetSuperclass

Field Detail

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

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.

getReferenceablePropertiesback to summary
public List<Property> getReferenceableProperties()

Overrides org.hibernate.mapping.PersistentClass.getReferenceableProperties.

Doc from org.hibernate.mapping.PersistentClass.getReferenceableProperties.

Build a list 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:List<Property>

The referenceable property iterator.

getTableback to summary
public Table getTable()

Overrides org.hibernate.mapping.Subclass.getTable.

Implements org.hibernate.mapping.AttributeContainer.getTable.

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

Implements org.hibernate.mapping.TableOwner.setTable.

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

Overrides org.hibernate.mapping.PersistentClass.validate.

Deprecated

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