Package org.hibernate.mapping
Class JoinedSubclass
java.lang.Object
org.hibernate.mapping.PersistentClass
org.hibernate.mapping.Subclass
org.hibernate.mapping.JoinedSubclass
- All Implemented Interfaces:
Serializable,AttributeContainer,Contributable,Filterable,IdentifiableTypeClass,MetaAttributable,TableContainer,TableOwner
A mapping model object that represents a subclass in a "joined" or
"table per subclass"
inheritance hierarchy.
- See Also:
-
Field Summary
Fields inherited from class org.hibernate.mapping.PersistentClass
NOT_NULL_DISCRIMINATOR_MAPPING, NULL_DISCRIMINATOR_MAPPING, synchronizedTables -
Constructor Summary
ConstructorsConstructorDescriptionJoinedSubclass(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext) -
Method Summary
Methods inherited from class org.hibernate.mapping.Subclass
addJoin, addMappedSuperclassProperty, addProperty, addSubclassJoin, addSubclassProperty, addSubclassTable, createForeignKey, getCacheConcurrencyStrategy, getDeclaredIdentifierProperty, getDeclaredVersion, getDiscriminator, getFilters, getIdentifier, getIdentifierMapper, getIdentifierProperty, getJoinClosure, getJoinClosureSpan, getKeyClosure, getNaturalIdCacheRegionName, getOptimisticLockStyle, getPropertyClosure, getPropertyClosureSpan, getRootClass, getRootTable, getSubclassId, getSuperclass, getSynchronizedTables, getTableClosure, getVersion, getWhere, hasEmbeddedIdentifier, hasIdentifierProperty, hasSubselectLoadableCollections, isClassOrSuperclassJoin, isClassOrSuperclassTable, isConcreteProxy, isDiscriminatorInsertable, isForceDiscriminator, isInherited, isJoinedSubclass, isMutable, isPolymorphic, isVersioned, setSuperclassMethods inherited from class org.hibernate.mapping.PersistentClass
addCallbackDefinitions, addCheckConstraint, addFilter, addSubclass, addSynchronizedTable, applyProperty, assignCheckConstraintsToTable, checkColumnDuplication, contains, createConstraints, createPrimaryKey, findSecondaryTable, findTable, getBatchSize, getCallbackDefinitions, getCheckConstraints, getClassName, getContributor, getCustomSQLDelete, getCustomSQLInsert, getCustomSQLUpdate, getDeclaredIdentifierMapper, getDeclaredProperties, getDeleteExpectation, getDirectSubclasses, getDiscriminatorValue, getEntityName, getIdentityTable, getImplicitTable, getInsertExpectation, getJoinNumber, getJoins, getJpaEntityName, getLoaderName, getMappedClass, getMetaAttribute, getMetaAttributes, getNonDuplicatedProperties, getProperties, getProperty, getProxyInterface, getProxyInterfaceName, getQueryCacheLayout, getRecursiveProperty, getReferencedProperty, getSecondaryTable, getServiceRegistry, getSubclassClosure, getSubclasses, getSubclassJoinClosure, getSubclassPropertyClosure, getSubclassSpan, getSubclassTableClosure, getSubTypes, getSuperMappedSuperclass, getSuperPersistentClass, getSuperType, getTable, getUnjoinedProperties, getUpdateExpectation, hasCollectionNotReferencingPK, hasIdentifierMapper, hasNaturalId, hasPartitionedSelectionMapping, hasPojoRepresentation, hasProperty, hasSelectBeforeUpdate, hasSubclasses, isAbstract, isCached, isCustomDeleteCallable, isCustomInsertCallable, isCustomUpdateCallable, isDefinedOnMultipleSubclasses, isDiscriminatorValueNotNull, isDiscriminatorValueNull, isExplicitPolymorphism, isLazy, isPropertyDefinedInHierarchy, isPropertyDefinedInSuperHierarchy, prepareForMappingModel, removeProperty, setAbstract, setBatchSize, setCached, setClassName, setCustomSQLDelete, setCustomSQLInsert, setCustomSQLUpdate, setDeclaredIdentifierMapper, setDeleteExpectation, setDiscriminatorValue, setDynamicInsert, setDynamicUpdate, setEntityName, setIdentifierMapper, setInsertExpectation, setJpaEntityName, setLazy, setLoaderName, setMetaAttributes, setOptimisticLockStyle, setProxyInterfaceName, setQueryCacheLayout, setSelectBeforeUpdate, setSubselectLoadableCollections, setSuperMappedSuperclass, setUpdateExpectation, toString, useDynamicInsert, useDynamicUpdate
-
Constructor Details
-
JoinedSubclass
-
-
Method Details
-
getTable
- Specified by:
getTablein interfaceAttributeContainer- Overrides:
getTablein classSubclass
-
setTable
- Specified by:
setTablein interfaceTableOwner
-
getKey
-
setKey
-
validate
- Overrides:
validatein classPersistentClass- Throws:
MappingException
-
getReferenceableProperties
Description copied from class:PersistentClassBuild a list 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.
- Overrides:
getReferenceablePropertiesin classPersistentClass- Returns:
- The referenceable property iterator.
- See Also:
-
accept
-