Package org.hibernate.mapping
Class UnionSubclass
- java.lang.Object
-
- org.hibernate.mapping.PersistentClass
-
- org.hibernate.mapping.Subclass
-
- org.hibernate.mapping.UnionSubclass
-
- All Implemented Interfaces:
Serializable,AttributeContainer,Filterable,MetaAttributable,TableOwner
public class UnionSubclass extends Subclass implements TableOwner
A subclass in a table-per-concrete-class mapping- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hibernate.mapping.PersistentClass
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables
-
-
Constructor Summary
Constructors Constructor Description UnionSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(PersistentClassVisitor mv)TablegetIdentityTable()protected IteratorgetNonDuplicatedPropertyIterator()SetgetSynchronizedTables()TablegetTable()voidsetTable(Table table)voidvalidate(Mapping mapping)-
Methods inherited from class org.hibernate.mapping.Subclass
addJoin, addMappedsuperclassProperty, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDeclaredIdentifierProperty, getDeclaredVersion, getDiscriminator, getEntityPersisterClass, getFilters, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosureIterator, getJoinClosureSpan, getKey, getKeyClosureIterator, getNaturalIdCacheRegionName, getOptimisticLockStyle, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getTableClosureIterator, getTuplizerImplClassName, getTuplizerMap, getVersion, getWhere, hasEmbeddedIdentifier, hasIdentifierProperty, hasSubselectLoadableCollections, isClassOrSuperclassJoin, isClassOrSuperclassTable, isDiscriminatorInsertable, isExplicitPolymorphism, isForceDiscriminator, isInherited, isJoinedSubclass, isMutable, isPolymorphic, isVersioned, setEntityPersisterClass, setSuperclass
-
Methods inherited from class org.hibernate.mapping.PersistentClass
addCallbackDefinitions, addFilter, addSubclass, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getCallbackDefinitions, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getJoinIterator, getJoinNumber, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getOptimisticLockMode, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getServiceRegistry, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getUnjoinedPropertyIterator, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, isAbstract, isCached, isCachingExplicitlyRequested, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, setAbstract, setBatchSize, setCached, setCachingExplicitlyRequested, setClassName, setCustomSqlDelete, setCustomSQLDelete, setCustomSqlInsert, setCustomSQLInsert, setCustomSqlUpdate, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setOptimisticLockMode, setOptimisticLockStyle, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, toString, useDynamicInsert, useDynamicUpdate
-
-
-
-
Constructor Detail
-
UnionSubclass
public UnionSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
-
-
Method Detail
-
setTable
public void setTable(Table table)
- Specified by:
setTablein interfaceTableOwner
-
getSynchronizedTables
public Set getSynchronizedTables()
- Overrides:
getSynchronizedTablesin classSubclass
-
getNonDuplicatedPropertyIterator
protected Iterator getNonDuplicatedPropertyIterator()
- Overrides:
getNonDuplicatedPropertyIteratorin classPersistentClass
-
validate
public void validate(Mapping mapping) throws MappingException
- Overrides:
validatein classPersistentClass- Throws:
MappingException
-
getIdentityTable
public Table getIdentityTable()
- Overrides:
getIdentityTablein classPersistentClass
-
accept
public Object accept(PersistentClassVisitor mv)
-
-