当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
JoinedSubclass (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.mapping
Class JoinedSubclass
java.lang.Object
org.hibernate.mapping.PersistentClass
org.hibernate.mapping.Subclass
org.hibernate.mapping.JoinedSubclass
- All Implemented Interfaces:
- Filterable, MetaAttributable, Serializable, TableOwner
- public class JoinedSubclass
- extends Subclass
- implements TableOwner
A subclass in a table-per-subclass mapping
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.mapping.Subclass |
addJoin, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDiscriminator, getEntityPersisterClass, getFilterMap, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosureIterator, getJoinClosureSpan, getKeyClosureIterator, getOptimisticLockMode, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getSynchronizedTables, 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, getIdentityTable, getJoinIterator, getJoinNumber, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNodeName, getNonDuplicatedPropertyIterator, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, 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 |
JoinedSubclass
public JoinedSubclass(PersistentClass superclass)
getTable
public Table getTable()
- Overrides:
getTable
in class Subclass
setTable
public void setTable(Table table)
- Specified by:
setTable
in interface TableOwner
getKey
public KeyValue getKey()
- Overrides:
getKey
in class Subclass
setKey
public void setKey(KeyValue key)
validate
public void validate(Mapping mapping)
throws MappingException
- Overrides:
validate
in class PersistentClass
- Throws:
MappingException
getReferenceablePropertyIterator
public Iterator getReferenceablePropertyIterator()
- Description copied from class:
PersistentClass
- Build an iterator of properties which are "referenceable".
- Overrides:
getReferenceablePropertyIterator
in class PersistentClass
- Returns:
- The property iterator.
- See Also:
for a discussion of "referenceable"
accept
public Object accept(PersistentClassVisitor mv)
- Overrides:
accept
in class Subclass