Class ListAttributeImpl<X,E>
java.lang.Object
org.hibernate.metamodel.model.domain.internal.AbstractAttribute<D,C,E>
org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute<X,List<E>,E>
org.hibernate.metamodel.model.domain.internal.ListAttributeImpl<X,E>
- All Implemented Interfaces:
Attribute<X,,List<E>> Bindable<E>,ListAttribute<X,,E> PluralAttribute<X,,List<E>, E> Serializable,ListPersistentAttribute<X,,E> PersistentAttribute<X,,List<E>> PluralPersistentAttribute<X,,List<E>, E> BindableType<E>,SqmExpressible<E>,SqmJoinable<X,,E> SqmPathSource<E>,SqmExpressibleAccessor<E>
public class ListAttributeImpl<X,E>
extends AbstractPluralAttribute<X,List<E>,E>
implements ListPersistentAttribute<X,E>
- Author:
- Steve Ebersole
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.PluralAttribute
PluralAttribute.CollectionType -
Constructor Summary
ConstructorsConstructorDescriptionListAttributeImpl(PluralAttributeBuilder<X, List<E>, E, ?> builder, MetadataContext metadataContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmJoin(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) findSubPathSource(String name) Find aSqmPathSourceby name relative to this source.findSubPathSource(String name, JpaMetamodelImplementor metamodel) Find aSqmPathSourceby name relative to this source.Return the collection type.getIntermediatePathSource(SqmPathSource<?> pathSource) Returns the intermediateSqmPathSourcefor a path source previously acquired viaSqmPathSource.findSubPathSource(String).Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute
createNavigablePath, createSqmPath, getBindableJavaType, getBindableType, getCollectionClassification, getElementPathSource, getElementType, getExpressibleJavaType, getJavaType, getKeyGraphType, getPathName, getValueGraphType, isAssociation, isCollection, isGenericMethods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractAttribute
getAttributeClassification, getAttributeJavaType, getDeclaringType, getJavaMember, getName, getPersistentAttributeType, getSqmPathType, toString, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.Attribute
getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollectionMethods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface org.hibernate.query.BindableType
getBindableJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaTypeMethods inherited from interface org.hibernate.metamodel.model.domain.PluralPersistentAttribute
getCollectionClassification, getDeclaringType, getElementPathSource, getElementType, getKeyGraphType, getValueGraphTypeMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, getTypeName, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaTypeMethods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath, getNameMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, getExpressible, getPathName, getSqmPathType, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
Constructor Details
-
ListAttributeImpl
public ListAttributeImpl(PluralAttributeBuilder<X, List<E>, E, ?> builder, MetadataContext metadataContext)
-
-
Method Details
-
getCollectionType
Description copied from interface:PluralAttributeReturn the collection type.- Specified by:
getCollectionTypein interfacePluralAttribute<X,List<E>, E> - Overrides:
getCollectionTypein classAbstractPluralAttribute<X,List<E>, E> - Returns:
- collection type
-
getIndexPathSource
- Specified by:
getIndexPathSourcein interfaceListPersistentAttribute<X,E> - Specified by:
getIndexPathSourcein interfacePluralPersistentAttribute<X,List<E>, E>
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfaceSqmPathSource<X>- Overrides:
findSubPathSourcein classAbstractPluralAttribute<X,List<E>, E> - Returns:
- null if the subPathSource is not found
-
findSubPathSource
Description copied from interface:SqmPathSourceFind aSqmPathSourceby name relative to this source.- Specified by:
findSubPathSourcein interfaceSqmPathSource<X>- Overrides:
findSubPathSourcein classAbstractPluralAttribute<X,List<E>, E> - Returns:
- null if the subPathSource is not found
-
getIntermediatePathSource
Description copied from interface:SqmPathSourceReturns the intermediateSqmPathSourcefor a path source previously acquired viaSqmPathSource.findSubPathSource(String).- Specified by:
getIntermediatePathSourcein interfaceSqmPathSource<X>- Overrides:
getIntermediatePathSourcein classAbstractPluralAttribute<X,List<E>, E>
-
createSqmJoin
public SqmAttributeJoin<X,E> createSqmJoin(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) - Specified by:
createSqmJoinin interfaceSqmJoinable<X,E>
-