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,Contributable,Filterable,MetaAttributable,TableOwner
public class UnionSubclass extends Subclass implements TableOwner
A mapping model object that represents a subclass in a "union" or "table per concrete class" inheritance hierarchy.- 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 buildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Objectaccept(PersistentClassVisitor mv)TablegetIdentityTable()protected List<Property>getNonDuplicatedProperties()protected Iterator<Property>getNonDuplicatedPropertyIterator()Deprecated.Set<String>getSynchronizedTables()TablegetTable()voidsetTable(Table table)-
Methods inherited from class org.hibernate.mapping.Subclass
addJoin, addMappedSuperclassProperty, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDeclaredIdentifierProperty, getDeclaredVersion, getDiscriminator, getEntityPersisterClass, getFilters, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosure, getJoinClosureIterator, getJoinClosureSpan, getKey, getKeyClosure, getKeyClosureIterator, getNaturalIdCacheRegionName, getOptimisticLockStyle, getPropertyClosure, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getTableClosure, getTableClosureIterator, 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, addCheckConstraint, addFilter, addSubclass, addSynchronizedTable, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, contains, createPrimaryKey, getBatchSize, getCallbackDefinitions, getCheckConstraints, getClassName, getContributor, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredProperties, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getJoinIterator, getJoinNumber, getJoins, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getOptimisticLockMode, getProperties, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceableProperties, getReferenceablePropertyIterator, getReferencedProperty, getServiceRegistry, getSubclassClosure, getSubclassClosureIterator, getSubclasses, getSubclassIterator, getSubclassJoinClosure, getSubclassJoinClosureIterator, getSubclassProperty, getSubclassPropertyClosure, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosure, getSubclassTableClosureIterator, getSuperMappedSuperclass, getUnjoinedProperties, getUnjoinedPropertyIterator, hasCollectionNotReferencingPK, hasIdentifierMapper, hasNaturalId, hasPartitionedSelectionMapping, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, isAbstract, isCached, isCachingExplicitlyRequested, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, prepareForMappingModel, 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, validate
-
-
-
-
Constructor Detail
-
UnionSubclass
public UnionSubclass(PersistentClass superclass, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
getTable
public Table getTable()
- Specified by:
getTablein interfaceAttributeContainer- Overrides:
getTablein classSubclass
-
setTable
public void setTable(Table table)
- Specified by:
setTablein interfaceTableOwner
-
getSynchronizedTables
public Set<String> getSynchronizedTables()
- Overrides:
getSynchronizedTablesin classSubclass
-
getNonDuplicatedPropertyIterator
@Deprecated protected Iterator<Property> getNonDuplicatedPropertyIterator()
Deprecated.- Overrides:
getNonDuplicatedPropertyIteratorin classPersistentClass
-
getNonDuplicatedProperties
protected List<Property> getNonDuplicatedProperties()
- Overrides:
getNonDuplicatedPropertiesin classPersistentClass
-
getIdentityTable
public Table getIdentityTable()
- Overrides:
getIdentityTablein classPersistentClass
-
accept
public Object accept(PersistentClassVisitor mv)
-
-