Package org.hibernate.mapping
Class SingleTableSubclass
- java.lang.Object
-
- org.hibernate.mapping.PersistentClass
-
- org.hibernate.mapping.Subclass
-
- org.hibernate.mapping.SingleTableSubclass
-
- All Implemented Interfaces:
Serializable
,AttributeContainer
,Contributable
,Filterable
,MetaAttributable
public class SingleTableSubclass extends Subclass
- 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 SingleTableSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
accept(PersistentClassVisitor mv)
protected Iterator<Selectable>
getDiscriminatorColumnIterator()
Deprecated.protected List<Property>
getNonDuplicatedProperties()
protected Iterator<Property>
getNonDuplicatedPropertyIterator()
Deprecated.void
validate(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, getJoinClosure, getJoinClosureIterator, getJoinClosureSpan, getKey, getKeyClosure, getKeyClosureIterator, getNaturalIdCacheRegionName, getOptimisticLockStyle, getPropertyClosure, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getSynchronizedTables, getTable, getTableClosure, 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, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getCallbackDefinitions, getClassName, getContributor, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredProperties, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorValue, getEntityName, getIdentityTable, 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, hasIdentifierMapper, hasNaturalId, 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
-
-
-
-
Constructor Detail
-
SingleTableSubclass
public SingleTableSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
-
-
Method Detail
-
getNonDuplicatedPropertyIterator
@Deprecated protected Iterator<Property> getNonDuplicatedPropertyIterator()
Deprecated.- Overrides:
getNonDuplicatedPropertyIterator
in classPersistentClass
-
getNonDuplicatedProperties
protected List<Property> getNonDuplicatedProperties()
- Overrides:
getNonDuplicatedProperties
in classPersistentClass
-
getDiscriminatorColumnIterator
@Deprecated protected Iterator<Selectable> getDiscriminatorColumnIterator()
Deprecated.- Overrides:
getDiscriminatorColumnIterator
in classPersistentClass
-
accept
public Object accept(PersistentClassVisitor mv)
-
validate
public void validate(Mapping mapping) throws MappingException
- Overrides:
validate
in classPersistentClass
- Throws:
MappingException
-
-