Class MappedSuperclassTypeImpl<J>
java.lang.Object
org.hibernate.metamodel.model.domain.internal.AbstractDomainType<J>
org.hibernate.metamodel.model.domain.internal.AbstractManagedType<J>
org.hibernate.metamodel.model.domain.internal.AbstractIdentifiableType<J>
org.hibernate.metamodel.model.domain.internal.MappedSuperclassTypeImpl<J>
- All Implemented Interfaces:
Bindable<J>,IdentifiableType<J>,ManagedType<J>,MappedSuperclassType<J>,Type<J>,Serializable,DomainType<J>,IdentifiableDomainType<J>,AttributeContainer<J>,ManagedDomainType<J>,MappedSuperclassDomainType<J>,PathSource<J>,SimpleDomainType<J>,SqmBindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmDomainType<J>,SqmManagedDomainType<J>,SqmMappedSuperclassDomainType<J>,SqmExpressibleAccessor<J>,BindableType<J>
public class MappedSuperclassTypeImpl<J>
extends AbstractIdentifiableType<J>
implements SqmMappedSuperclassDomainType<J>, SqmPathSource<J>
Implementation of
MappedSuperclassType.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.metamodel.model.domain.internal.AttributeContainer
AttributeContainer.InFlightAccess<J>Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceType -
Constructor Summary
ConstructorsConstructorDescriptionMappedSuperclassTypeImpl(String name, boolean hasIdClass, boolean hasIdProperty, boolean hasVersion, JavaType<J> javaType, IdentifiableDomainType<? super J> superType, JpaMetamodelImplementor jpaMetamodel) MappedSuperclassTypeImpl(JavaType<J> javaType, MappedSuperclass mappedSuperclass, IdentifiableDomainType<? super J> superType, JpaMetamodelImplementor jpaMetamodel) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource) Create an SQM path for this source relative to the given left hand sideSqmPersistentAttribute<? super J, ?> findAttribute(String name) findSubPathSource(String name) Find aPathSourceby name relative to this source.The name of this thing.The type of path this source creates.protected booleanMethods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractIdentifiableType
createInFlightAccess, findIdAttribute, findNaturalIdAttributes, findVersionAttribute, getDeclaredId, getDeclaredVersion, getDeclaredVersion, getId, getIdClassAttributes, getIdClassAttributesSafely, getIdType, getSupertype, getSuperType, getVersion, hasDeclaredVersionAttribute, hasIdClass, hasSingleIdAttribute, hasVersionAttribute, visitIdClassAttributesMethods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractManagedType
addSubType, findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getInFlightAccess, getJavaType, getList, getList, getMap, getMap, getMetamodel, getPluralAttributes, getRepresentationMode, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getSubTypes, getTypeName, isPrimitiveVariant, toString, visitAttributes, visitDeclaredAttributes, writeReplaceMethods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractDomainType
getExpressibleJavaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getExpressibleJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.IdentifiableDomainType
findIdAttribute, findNaturalIdAttributes, findVersionAttribute, getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasIdClass, visitIdClassAttributesMethods inherited from interface jakarta.persistence.metamodel.IdentifiableType
hasSingleIdAttribute, hasVersionAttributeMethods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, getAttribute, getDeclaredAttribute, getMetamodel, getRepresentationMode, getSubTypes, getSuperType, visitAttributes, visitDeclaredAttributesMethods inherited from interface jakarta.persistence.metamodel.ManagedType
getAttributes, getCollection, getCollection, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributesMethods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLengthMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmManagedDomainType
findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getJavaTypeMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmMappedSuperclassDomainType
getTypeNameMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGenericMethods inherited from interface jakarta.persistence.metamodel.Type
getJavaType
-
Constructor Details
-
MappedSuperclassTypeImpl
public MappedSuperclassTypeImpl(String name, boolean hasIdClass, boolean hasIdProperty, boolean hasVersion, JavaType<J> javaType, IdentifiableDomainType<? super J> superType, JpaMetamodelImplementor jpaMetamodel) -
MappedSuperclassTypeImpl
public MappedSuperclassTypeImpl(JavaType<J> javaType, MappedSuperclass mappedSuperclass, IdentifiableDomainType<? super J> superType, JpaMetamodelImplementor jpaMetamodel)
-
-
Method Details
-
getBindableJavaType
- Specified by:
getBindableJavaTypein interfaceBindable<J>
-
getSqmType
- Specified by:
getSqmTypein interfaceSqmExpressible<J>- Specified by:
getSqmTypein interfaceSqmMappedSuperclassDomainType<J>- Specified by:
getSqmTypein interfaceSqmPathSource<J>
-
getPathName
Description copied from interface:PathSourceThe name of this thing.- Specified by:
getPathNamein interfacePathSource<J>
-
getPathType
Description copied from interface:PathSourceThe type of path this source creates.- Specified by:
getPathTypein interfacePathSource<J>- Specified by:
getPathTypein interfaceSqmPathSource<J>
-
findSubPathSource
Description copied from interface:PathSourceFind aPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfacePathSource<J>- Specified by:
findSubPathSourcein interfaceSqmPathSource<J>- Parameters:
name- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
getIdentifierDescriptor
- Specified by:
getIdentifierDescriptorin interfaceIdentifiableDomainType<J>- Overrides:
getIdentifierDescriptorin classAbstractIdentifiableType<J>
-
findAttribute
- Specified by:
findAttributein interfaceManagedDomainType<J>- Specified by:
findAttributein interfaceSqmManagedDomainType<J>- Overrides:
findAttributein classAbstractManagedType<J>
-
getBindableType
- Specified by:
getBindableTypein interfaceBindable<J>
-
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<J>
-
isIdMappingRequired
protected boolean isIdMappingRequired()- Overrides:
isIdMappingRequiredin classAbstractIdentifiableType<J>
-
createSqmPath
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left hand side- Specified by:
createSqmPathin interfaceSqmPathSource<J>
-