Class EmbeddableTypeImpl<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.EmbeddableTypeImpl<J>
- All Implemented Interfaces:
Bindable<J>,EmbeddableType<J>,ManagedType<J>,Type<J>,Serializable,DomainType<J>,EmbeddableDomainType<J>,AttributeContainer<J>,ManagedDomainType<J>,PathSource<J>,SimpleDomainType<J>,TreatableDomainType<J>,SqmBindableType<J>,SqmExpressible<J>,SqmPathSource<J>,SqmDomainType<J>,SqmEmbeddableDomainType<J>,SqmManagedDomainType<J>,SqmTreatableDomainType<J>,SqmExpressibleAccessor<J>,BindableType<J>
public class EmbeddableTypeImpl<J>
extends AbstractManagedType<J>
implements SqmEmbeddableDomainType<J>, Serializable
Implementation of
EmbeddableType.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.metamodel.model.domain.internal.AbstractManagedType
AbstractManagedType.InFlightAccessImplNested 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
ConstructorsConstructorDescriptionEmbeddableTypeImpl(JavaType<J> javaType, ManagedDomainType<? super J> superType, DomainType<?> discriminatorType, boolean isDynamic, JpaMetamodelImplementor domainMetamodel) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource) Create an SQM path for this source relative to the given left hand sidefindSubPathSource(String name) Find aPathSourceby name relative to this source.The name of this thing.Collection<? extends SqmEmbeddableDomainType<? extends J>>The descriptors of all known managed subtypes of this type.intMethods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractManagedType
addSubType, createInFlightAccess, findAttribute, 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, getSuperType, 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.EmbeddableDomainType
isPolymorphicMethods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, getAttribute, getDeclaredAttribute, getMetamodel, getRepresentationMode, 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.SqmEmbeddableDomainType
getPathType, getSqmTypeMethods 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
findAttribute, findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, findSubTypesAttribute, getJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
findSubPathSource, getExpressible, getIntermediatePathSource, getSubPathSource, getSubPathSource, isGenericMethods inherited from interface org.hibernate.query.sqm.tree.domain.SqmTreatableDomainType
getTypeNameMethods inherited from interface jakarta.persistence.metamodel.Type
getJavaType
-
Constructor Details
-
EmbeddableTypeImpl
public EmbeddableTypeImpl(JavaType<J> javaType, ManagedDomainType<? super J> superType, DomainType<?> discriminatorType, boolean isDynamic, JpaMetamodelImplementor domainMetamodel)
-
-
Method Details
-
getBindableJavaType
- Specified by:
getBindableJavaTypein interfaceBindable<J>
-
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<J>
-
getTupleLength
public int getTupleLength()- Specified by:
getTupleLengthin interfaceSqmDomainType<J>
-
getSubTypes
Description copied from interface:ManagedDomainTypeThe descriptors of all known managed subtypes of this type.- Specified by:
getSubTypesin interfaceEmbeddableDomainType<J>- Specified by:
getSubTypesin interfaceManagedDomainType<J>- Overrides:
getSubTypesin classAbstractManagedType<J>
-
getPathName
Description copied from interface:PathSourceThe name of this thing.- Specified by:
getPathNamein interfacePathSource<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
-
createSqmPath
Description copied from interface:SqmPathSourceCreate an SQM path for this source relative to the given left hand side- Specified by:
createSqmPathin interfaceSqmPathSource<J>
-
getBindableType
- Specified by:
getBindableTypein interfaceBindable<J>
-