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.BindableType
Nested 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 aPathSource
by name relative to this source.The name of this thing.The type of path this source creates.protected boolean
Methods 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, visitIdClassAttributes
Methods 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, writeReplace
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractDomainType
getExpressibleJavaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getExpressibleJavaType
Methods inherited from interface org.hibernate.metamodel.model.domain.IdentifiableDomainType
findIdAttribute, findNaturalIdAttributes, findVersionAttribute, getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdType, getSupertype, getVersion, hasIdClass, visitIdClassAttributes
Methods inherited from interface jakarta.persistence.metamodel.IdentifiableType
hasSingleIdAttribute, hasVersionAttribute
Methods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, getAttribute, getDeclaredAttribute, getMetamodel, getRepresentationMode, getSubTypes, getSuperType, visitAttributes, visitDeclaredAttributes
Methods 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, getSingularAttributes
Methods inherited from interface org.hibernate.query.sqm.SqmBindableType
resolveExpressible
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmDomainType
getTupleLength
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmManagedDomainType
findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getJavaType
Methods inherited from interface org.hibernate.query.sqm.tree.domain.SqmMappedSuperclassDomainType
getTypeName
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGeneric
Methods 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:
getBindableJavaType
in interfaceBindable<J>
-
getSqmType
- Specified by:
getSqmType
in interfaceSqmExpressible<J>
- Specified by:
getSqmType
in interfaceSqmMappedSuperclassDomainType<J>
- Specified by:
getSqmType
in interfaceSqmPathSource<J>
-
getPathName
Description copied from interface:PathSource
The name of this thing.- Specified by:
getPathName
in interfacePathSource<J>
-
getPathType
Description copied from interface:PathSource
The type of path this source creates.- Specified by:
getPathType
in interfacePathSource<J>
- Specified by:
getPathType
in interfaceSqmPathSource<J>
-
findSubPathSource
Description copied from interface:PathSource
Find aPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfacePathSource<J>
- Specified by:
findSubPathSource
in interfaceSqmPathSource<J>
- Parameters:
name
- the name of the path source to find- Returns:
- null if the subPathSource is not found
-
getIdentifierDescriptor
- Specified by:
getIdentifierDescriptor
in interfaceIdentifiableDomainType<J>
- Overrides:
getIdentifierDescriptor
in classAbstractIdentifiableType<J>
-
findAttribute
- Specified by:
findAttribute
in interfaceManagedDomainType<J>
- Specified by:
findAttribute
in interfaceSqmManagedDomainType<J>
- Overrides:
findAttribute
in classAbstractManagedType<J>
-
getBindableType
- Specified by:
getBindableType
in interfaceBindable<J>
-
getPersistenceType
- Specified by:
getPersistenceType
in interfaceType<J>
-
isIdMappingRequired
protected boolean isIdMappingRequired()- Overrides:
isIdMappingRequired
in classAbstractIdentifiableType<J>
-
createSqmPath
Description copied from interface:SqmPathSource
Create an SQM path for this source relative to the given left hand side- Specified by:
createSqmPath
in interfaceSqmPathSource<J>
-