org.hibernate.mapping

Class SingleTableSubclass

Implemented Interfaces:
Serializable, Filterable, MetaAttributable

public class SingleTableSubclass
extends Subclass

Author:
Gavin King

Field Summary

Fields inherited from class org.hibernate.mapping.PersistentClass

NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, optimisticLockMode, synchronizedTables

Constructor Summary

SingleTableSubclass(PersistentClass superclass)

Method Summary

Object
accept(PersistentClassVisitor mv)
protected Iterator
getDiscriminatorColumnIterator()
protected Iterator
getNonDuplicatedPropertyIterator()
void
validate(Mapping mapping)

Methods inherited from class org.hibernate.mapping.Subclass

accept, addJoin, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDiscriminator, getEntityPersisterClass, getFilterMap, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosureIterator, getJoinClosureSpan, getKey, getKeyClosureIterator, getOptimisticLockMode, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getSynchronizedTables, getTable, getTableClosureIterator, getTuplizerImplClassName, getTuplizerMap, getVersion, getWhere, hasEmbeddedIdentifier, hasIdentifierProperty, hasSubselectLoadableCollections, isClassOrSuperclassJoin, isClassOrSuperclassTable, isDiscriminatorInsertable, isExplicitPolymorphism, isForceDiscriminator, isInherited, isJoinedSubclass, isLazyPropertiesCacheable, isMutable, isPolymorphic, isVersioned, setEntityPersisterClass, setSuperclass

Methods inherited from class org.hibernate.mapping.PersistentClass

accept, addFilter, addJoin, addProperty, addSubclass, addSubclassJoin, addSubclassProperty, addSubclassTable, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getCacheConcurrencyStrategy, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDirectSubclasses, getDiscriminator, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getEntityPersisterClass, getFilterMap, getIdentifier, getIdentifierMapper, getIdentifierProperty, getIdentityTable, getJoinClosureIterator, getJoinClosureSpan, getJoinIterator, getJoinNumber, getKey, getKeyClosureIterator, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNodeName, getNonDuplicatedPropertyIterator, getOptimisticLockMode, getProperty, getPropertyClosureIterator, getPropertyClosureSpan, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getRootClass, getRootTable, getSubclassClosureIterator, getSubclassId, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperclass, getSynchronizedTables, getTable, getTableClosureIterator, getTemporaryIdTableDDL, getTemporaryIdTableName, getTuplizerImplClassName, getTuplizerMap, getUnjoinedPropertyIterator, getVersion, getWhere, hasDom4jRepresentation, hasEmbeddedIdentifier, hasIdentifierMapper, hasIdentifierProperty, hasNaturalId, hasPojoRepresentation, hasSelectBeforeUpdate, hasSubclasses, hasSubselectLoadableCollections, isAbstract, isClassOrSuperclassJoin, isClassOrSuperclassTable, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorInsertable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isExplicitPolymorphism, isForceDiscriminator, isInherited, isJoinedSubclass, isLazy, isLazyPropertiesCacheable, isMutable, isPolymorphic, isVersioned, prepareTemporaryTables, setAbstract, setBatchSize, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setEntityPersisterClass, setIdentifierMapper, setLazy, setLoaderName, setMetaAttributes, setNodeName, setOptimisticLockMode, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, toString, useDynamicInsert, useDynamicUpdate, validate

Constructor Details

SingleTableSubclass

public SingleTableSubclass(PersistentClass superclass)

Method Details

accept

public Object accept(PersistentClassVisitor mv)
Overrides:
accept in interface Subclass

getDiscriminatorColumnIterator

protected Iterator getDiscriminatorColumnIterator()
Overrides:
getDiscriminatorColumnIterator in interface PersistentClass

getNonDuplicatedPropertyIterator

protected Iterator getNonDuplicatedPropertyIterator()
Overrides:
getNonDuplicatedPropertyIterator in interface PersistentClass

validate

public void validate(Mapping mapping)
            throws MappingException
Overrides:
validate in interface PersistentClass