public class JoinedSubclass extends Subclass implements TableOwner
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables| Constructor and Description |
|---|
JoinedSubclass(PersistentClass superclass,
MetadataBuildingContext metadataBuildingContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(PersistentClassVisitor mv) |
KeyValue |
getKey() |
Iterator |
getReferenceablePropertyIterator()
Build an iterator of properties which may be referenced in association mappings.
|
Table |
getTable() |
void |
setKey(KeyValue key) |
void |
setTable(Table table) |
void |
validate(Mapping mapping) |
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, setSuperclassaddFilter, 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, useDynamicUpdatepublic JoinedSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext)
public void setTable(Table table)
setTable in interface TableOwnerpublic void setKey(KeyValue key)
public void validate(Mapping mapping) throws MappingException
validate in class PersistentClassMappingExceptionpublic Iterator getReferenceablePropertyIterator()
PersistentClassIncludes properties defined in superclasses of the mapping inheritance. Includes all properties defined as part of a join.
getReferenceablePropertyIterator in class PersistentClassfor a discussion of "referenceable"public Object accept(PersistentClassVisitor mv)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.