类 JoinedSubclass
- java.lang.Object
-
- org.hibernate.mapping.PersistentClass
-
- org.hibernate.mapping.Subclass
-
- org.hibernate.mapping.JoinedSubclass
-
- 所有已实现的接口:
Serializable,AttributeContainer,Filterable,MetaAttributable,TableOwner
public class JoinedSubclass extends Subclass implements TableOwner
A subclass in a table-per-subclass mapping- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 org.hibernate.mapping.PersistentClass
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables
-
-
构造器概要
构造器 构造器 说明 JoinedSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectaccept(PersistentClassVisitor mv)KeyValuegetKey()IteratorgetReferenceablePropertyIterator()Build an iterator of properties which may be referenced in association mappings.TablegetTable()voidsetKey(KeyValue key)voidsetTable(Table table)voidvalidate(Mapping mapping)-
从类继承的方法 org.hibernate.mapping.Subclass
addJoin, addMappedsuperclassProperty, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDeclaredIdentifierProperty, getDeclaredVersion, getDiscriminator, getEntityPersisterClass, getFilters, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosureIterator, getJoinClosureSpan, getKeyClosureIterator, getNaturalIdCacheRegionName, getOptimisticLockStyle, getPropertyClosureIterator, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getSynchronizedTables, getTableClosureIterator, getTuplizerImplClassName, getTuplizerMap, getVersion, getWhere, hasEmbeddedIdentifier, hasIdentifierProperty, hasSubselectLoadableCollections, isClassOrSuperclassJoin, isClassOrSuperclassTable, isDiscriminatorInsertable, isExplicitPolymorphism, isForceDiscriminator, isInherited, isJoinedSubclass, isMutable, isPolymorphic, isVersioned, setEntityPersisterClass, setSuperclass
-
从类继承的方法 org.hibernate.mapping.PersistentClass
addFilter, addSubclass, addSynchronizedTable, addTuplizer, checkColumnDuplication, checkColumnDuplication, checkPropertyColumnDuplication, createPrimaryKey, getBatchSize, getClassName, getCustomSQLDelete, getCustomSQLDeleteCheckStyle, getCustomSQLInsert, getCustomSQLInsertCheckStyle, getCustomSQLUpdate, getCustomSQLUpdateCheckStyle, getDeclaredIdentifierMapper, getDeclaredPropertyIterator, getDirectSubclasses, getDiscriminatorColumnIterator, getDiscriminatorValue, getEntityName, getIdentityTable, getJoinIterator, getJoinNumber, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNonDuplicatedPropertyIterator, getOptimisticLockMode, getProperty, getPropertyIterator, getProxyInterface, getProxyInterfaceName, getRecursiveProperty, getReferencedProperty, getServiceRegistry, getSubclassClosureIterator, getSubclassIterator, getSubclassJoinClosureIterator, getSubclassPropertyClosureIterator, getSubclassSpan, getSubclassTableClosureIterator, getSuperMappedSuperclass, getUnjoinedPropertyIterator, hasIdentifierMapper, hasNaturalId, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, isAbstract, isCached, isCachingExplicitlyRequested, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, setAbstract, setBatchSize, setCached, setCachingExplicitlyRequested, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setOptimisticLockMode, setOptimisticLockStyle, setProxyInterfaceName, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, toString, useDynamicInsert, useDynamicUpdate
-
-
-
-
构造器详细资料
-
JoinedSubclass
public JoinedSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
-
-
方法详细资料
-
setTable
public void setTable(Table table)
- 指定者:
setTable在接口中TableOwner
-
setKey
public void setKey(KeyValue key)
-
validate
public void validate(Mapping mapping) throws MappingException
- 覆盖:
validate在类中PersistentClass- 抛出:
MappingException
-
getReferenceablePropertyIterator
public Iterator getReferenceablePropertyIterator()
从类复制的说明:PersistentClassBuild an iterator of properties which may be referenced in association mappings.Includes properties defined in superclasses of the mapping inheritance. Includes all properties defined as part of a join.
- 覆盖:
getReferenceablePropertyIterator在类中PersistentClass- 返回:
- The referenceable property iterator.
- 另请参阅:
for a discussion of "referenceable"
-
accept
public Object accept(PersistentClassVisitor mv)
-
-