Class MappedSuperclassTypeImpl<J>
java.lang.Object
org.hibernate.metamodel.model.domain.AbstractDomainType<J>
org.hibernate.metamodel.model.domain.AbstractManagedType<J>
org.hibernate.metamodel.model.domain.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>,SimpleDomainType<J>,BindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmExpressibleAccessor<J>
public class MappedSuperclassTypeImpl<J>
extends AbstractIdentifiableType<J>
implements MappedSuperclassDomainType<J>
Implementation of
MappedSuperclassType.- Author:
- Emmanuel Bernard, Steve Ebersole
- 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 sidePersistentAttribute<? super J,?> findAttribute(String name) findSubPathSource(String name) Find aSqmPathSourceby name relative to this source.Return the bindable type of the represented object.The name of this thing.Return the persistence type.The type of path this source creates.protected booleanMethods inherited from class org.hibernate.metamodel.model.domain.AbstractIdentifiableType
createInFlightAccess, findIdAttribute, findNaturalIdAttributes, findVersionAttribute, getDeclaredId, getDeclaredVersion, getDeclaredVersion, getId, getIdClassAttributes, getIdClassAttributesSafely, getIdentifierDescriptor, getIdType, getInFlightAccess, getSupertype, getSuperType, getVersion, hasDeclaredVersionAttribute, hasIdClass, hasSingleIdAttribute, hasVersionAttribute, visitIdClassAttributesMethods inherited from class org.hibernate.metamodel.model.domain.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, getList, getList, getMap, getMap, getPluralAttributes, getRepresentationMode, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getSubTypes, getTypeName, isPrimitiveVariant, toString, visitAttributes, visitDeclaredAttributes, writeReplaceMethods inherited from class org.hibernate.metamodel.model.domain.AbstractDomainType
getBindableJavaType, getExpressibleJavaType, getJavaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.DomainType
getTupleLengthMethods inherited from interface org.hibernate.metamodel.model.domain.IdentifiableDomainType
findIdAttribute, findNaturalIdAttributes, findVersionAttribute, getDeclaredId, getDeclaredVersion, getId, getIdClassAttributes, getIdentifierDescriptor, getIdType, getSupertype, getVersion, hasIdClass, visitIdClassAttributesMethods inherited from interface jakarta.persistence.metamodel.IdentifiableType
hasSingleIdAttribute, hasVersionAttributeMethods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getAttribute, getDeclaredAttribute, getRepresentationMode, getSubTypes, getSuperType, getTypeName, 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.metamodel.model.domain.MappedSuperclassDomainType
getSqmTypeMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods 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
-
getPathName
Description copied from interface:SqmPathSourceThe name of this thing.- Specified by:
getPathNamein interfaceSqmPathSource<J>
-
getSqmPathType
Description copied from interface:SqmPathSourceThe type of path this source creates.- Specified by:
getSqmPathTypein interfaceSqmPathSource<J>
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfaceSqmPathSource<J>- Returns:
- null if the subPathSource is not found
-
findAttribute
- Specified by:
findAttributein interfaceManagedDomainType<J>- Overrides:
findAttributein classAbstractManagedType<J>
-
getBindableType
Description copied from interface:BindableReturn the bindable type of the represented object.- Specified by:
getBindableTypein interfaceBindable<J>- Returns:
- bindable type
-
getPersistenceType
Description copied from interface:TypeReturn the persistence type.- Specified by:
getPersistenceTypein interfaceType<J>- Returns:
- persistence type
-
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>
-