Class EmbeddableTypeImpl<J>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.AbstractDomainType<J>
-
- org.hibernate.metamodel.model.domain.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>
,SimpleDomainType<J>
,TreatableDomainType<J>
,BindableType<J>
,SqmExpressible<J>
,SqmPathSource<J>
,SqmExpressibleAccessor<J>
public class EmbeddableTypeImpl<J> extends AbstractManagedType<J> implements EmbeddableDomainType<J>, Serializable
Implementation ofEmbeddableType
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.metamodel.model.domain.AbstractManagedType
AbstractManagedType.InFlightAccessImpl
-
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
Constructors Constructor Description EmbeddableTypeImpl(JavaType<J> javaType, ManagedDomainType<? super J> superType, DomainType<?> discriminatorType, boolean isDynamic, JpaMetamodelImplementor domainMetamodel)
-
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 sideSqmPathSource<?>
findSubPathSource(String name)
Find aSqmPathSource
by name relative to this source.Bindable.BindableType
getBindableType()
String
getPathName()
The name of this thing.Type.PersistenceType
getPersistenceType()
EmbeddableDomainType<J>
getSqmPathType()
The type of path this source creates.Collection<? extends EmbeddableDomainType<? extends J>>
getSubTypes()
int
getTupleLength()
-
Methods inherited from class org.hibernate.metamodel.model.domain.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, getList, getList, getMap, getMap, getPluralAttributes, getRepresentationMode, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getSuperType, getTypeName, isPrimitiveVariant, toString, visitAttributes, visitDeclaredAttributes, writeReplace
-
Methods inherited from class org.hibernate.metamodel.model.domain.AbstractDomainType
getBindableJavaType, getExpressibleJavaType, getJavaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.EmbeddableDomainType
getSqmType, isPolymorphic
-
Methods inherited from interface org.hibernate.metamodel.model.domain.ManagedDomainType
addSubType, findAttribute, findAttributeInSuperTypes, findConcreteGenericAttribute, findDeclaredAttribute, findDeclaredConcreteGenericAttribute, findDeclaredPluralAttribute, findDeclaredSingularAttribute, findPluralAttribute, findSingularAttribute, 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
getExpressibleJavaType, getRelationalJavaType, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
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 Detail
-
EmbeddableTypeImpl
public EmbeddableTypeImpl(JavaType<J> javaType, ManagedDomainType<? super J> superType, DomainType<?> discriminatorType, boolean isDynamic, JpaMetamodelImplementor domainMetamodel)
-
-
Method Detail
-
getPersistenceType
public Type.PersistenceType getPersistenceType()
- Specified by:
getPersistenceType
in interfaceType<J>
-
getTupleLength
public int getTupleLength()
- Specified by:
getTupleLength
in interfaceDomainType<J>
-
getSubTypes
public Collection<? extends EmbeddableDomainType<? extends J>> getSubTypes()
- Specified by:
getSubTypes
in interfaceEmbeddableDomainType<J>
- Specified by:
getSubTypes
in interfaceManagedDomainType<J>
- Overrides:
getSubTypes
in classAbstractManagedType<J>
-
getPathName
public String getPathName()
Description copied from interface:SqmPathSource
The name of this thing.- Specified by:
getPathName
in interfaceSqmPathSource<J>
-
getSqmPathType
public EmbeddableDomainType<J> getSqmPathType()
Description copied from interface:SqmPathSource
The type of path this source creates.- Specified by:
getSqmPathType
in interfaceSqmPathSource<J>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
Description copied from interface:SqmPathSource
Find aSqmPathSource
by name relative to this source.- Specified by:
findSubPathSource
in interfaceSqmPathSource<J>
- Returns:
- null if the subPathSource is not found
-
createSqmPath
public SqmPath<J> createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
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>
-
getBindableType
public Bindable.BindableType getBindableType()
- Specified by:
getBindableType
in interfaceBindable<J>
-
-