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:
jakarta.persistence.metamodel.Bindable<J>,jakarta.persistence.metamodel.IdentifiableType<J>,jakarta.persistence.metamodel.ManagedType<J>,jakarta.persistence.metamodel.MappedSuperclassType<J>,jakarta.persistence.metamodel.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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.model.domain.internal.AttributeContainer
AttributeContainer.InFlightAccess<J>
-
-
Constructor Summary
Constructors Constructor Description MappedSuperclassTypeImpl(JavaType<J> javaType, MappedSuperclass mappedSuperclass, IdentifiableDomainType<? super J> superType, JpaMetamodel jpaMetamodel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmPath<J>createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)Create an SQM path for this source relative to the given left-hand sidePersistentAttribute<? super J,?>findAttribute(String name)SqmPathSource<?>findSubPathSource(String name)Find a SqmPathSource by name relative to this source.jakarta.persistence.metamodel.Bindable.BindableTypegetBindableType()StringgetPathName()The name of this thing.jakarta.persistence.metamodel.Type.PersistenceTypegetPersistenceType()MappedSuperclassDomainType<J>getSqmPathType()The type of SqmPaths this source creates.protected booleanisIdMappingRequired()SubGraphImplementor<J>makeSubGraph()<S extends J>
SubGraphImplementor<S>makeSubGraph(Class<S> subType)-
Methods 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, visitIdClassAttributes
-
Methods inherited from class org.hibernate.metamodel.model.domain.AbstractManagedType
addSubType, findAttributeInSuperTypes, findDeclaredAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubType, findSubType, 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, getTypeName, isPrimitiveVariant, toString, visitAttributes, visitDeclaredAttributes, writeReplace
-
Methods inherited from class org.hibernate.metamodel.model.domain.AbstractDomainType
getBindableJavaType, getExpressibleJavaType, getJavaType, jpaMetamodel
-
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, getIdentifierDescriptor, 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, findAttributeInSuperTypes, findDeclaredAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubType, findSubType, findSubTypesAttribute, getAttribute, getDeclaredAttribute, getRepresentationMode, getSuperType, getTypeName, 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.SqmExpressible
isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
getExpressible, getIntermediatePathSource, getSubPathSource
-
-
-
-
Constructor Detail
-
MappedSuperclassTypeImpl
public MappedSuperclassTypeImpl(JavaType<J> javaType, MappedSuperclass mappedSuperclass, IdentifiableDomainType<? super J> superType, JpaMetamodel jpaMetamodel)
-
-
Method Detail
-
getPathName
public String getPathName()
Description copied from interface:SqmPathSourceThe name of this thing. Mainly used in logging and when creating aNavigablePath- Specified by:
getPathNamein interfaceSqmPathSource<J>
-
getSqmPathType
public MappedSuperclassDomainType<J> getSqmPathType()
Description copied from interface:SqmPathSourceThe type of SqmPaths this source creates. Corollary to JPA'sBindable.getBindableJavaType()- Specified by:
getSqmPathTypein interfaceSqmPathSource<J>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSourceFind a SqmPathSource by name relative to this source. returns null if the subPathSource is not found- Specified by:
findSubPathSourcein interfaceSqmPathSource<J>
-
findAttribute
public PersistentAttribute<? super J,?> findAttribute(String name)
- Specified by:
findAttributein interfaceManagedDomainType<J>- Overrides:
findAttributein classAbstractManagedType<J>
-
getBindableType
public jakarta.persistence.metamodel.Bindable.BindableType getBindableType()
- Specified by:
getBindableTypein interfacejakarta.persistence.metamodel.Bindable<J>
-
getPersistenceType
public jakarta.persistence.metamodel.Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceTypein interfacejakarta.persistence.metamodel.Type<J>
-
makeSubGraph
public <S extends J> SubGraphImplementor<S> makeSubGraph(Class<S> subType)
- Specified by:
makeSubGraphin interfaceManagedDomainType<J>
-
makeSubGraph
public SubGraphImplementor<J> makeSubGraph()
- Specified by:
makeSubGraphin interfaceManagedDomainType<J>- Overrides:
makeSubGraphin classAbstractManagedType<J>
-
isIdMappingRequired
protected boolean isIdMappingRequired()
- Overrides:
isIdMappingRequiredin classAbstractIdentifiableType<J>
-
createSqmPath
public SqmPath<J> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left-hand side- Specified by:
createSqmPathin interfaceSqmPathSource<J>
-
-