站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

UnionSubclass (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.mapping
Class UnionSubclass

java.lang.Object
  extended byorg.hibernate.mapping.PersistentClass
      extended byorg.hibernate.mapping.Subclass
          extended byorg.hibernate.mapping.UnionSubclass
All Implemented Interfaces:
Filterable, MetaAttributable, Serializable, TableOwner

public class UnionSubclass
extends Subclass
implements TableOwner

A subclass in a table-per-concrete-class mapping

Author:
Gavin King
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.mapping.PersistentClass
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, optimisticLockMode, synchronizedTables
 
Constructor Summary
UnionSubclass(PersistentClass superclass)
           
 
Method Summary
 Object accept(PersistentClassVisitor mv)
           
 Table getIdentityTable()
           
protected  Iterator getNonDuplicatedPropertyIterator()
           
 Set getSynchronizedTables()
           
 Table getTable()
           
 void setTable(Table table)
           
 void validate(Mapping mapping)
           
 
Methods inherited from class org.hibernate.mapping.Subclass
addJoin, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDiscriminator, getEntityPersisterClass, getFilterMap, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosureIterator, getJoinClosureSpan, getKey, getKeyClosureIterator, getOptimisticLockMode, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, 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
addFilter, addSubclass, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getJoinIterator, getJoinNumber, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNodeName, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferenceablePropertyIterator, getReferencedProperty, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getTemporaryIdTableDDL, getTemporaryIdTableName, getUnjoinedPropertyIterator, hasDom4jRepresentation, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasSelectBeforeUpdate, hasSubclasses, isAbstract, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, prepareTemporaryTables, setAbstract, setBatchSize, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setLazy, setLoaderName, setMetaAttributes, setNodeName, setOptimisticLockMode, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, toString, useDynamicInsert, useDynamicUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnionSubclass

public UnionSubclass(PersistentClass superclass)
Method Detail

getTable

public Table getTable()
Overrides:
getTable in class Subclass

setTable

public void setTable(Table table)
Specified by:
setTable in interface TableOwner

getSynchronizedTables

public Set getSynchronizedTables()
Overrides:
getSynchronizedTables in class Subclass

getNonDuplicatedPropertyIterator

protected Iterator getNonDuplicatedPropertyIterator()
Overrides:
getNonDuplicatedPropertyIterator in class PersistentClass

validate

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

getIdentityTable

public Table getIdentityTable()
Overrides:
getIdentityTable in class PersistentClass

accept

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