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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.PluralAttribute
PluralAttribute.CollectionType
-
-
Constructor Summary
Constructors Constructor Description ListAttributeImpl(PluralAttributeBuilder<X,List<E>,E,?> builder, MetadataContext metadataContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqmAttributeJoin<X,E>createSqmJoin(SqmFrom<?,X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState)SqmPathSource<?>findSubPathSource(String name)Find aSqmPathSourceby name relative to this source.SqmPathSource<?>findSubPathSource(String name, JpaMetamodelImplementor metamodel)Find aSqmPathSourceby name relative to this source.PluralAttribute.CollectionTypegetCollectionType()SqmPathSource<Integer>getIndexPathSource()SqmPathSource<?>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, isGeneric
-
Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractAttribute
getAttributeClassification, getAttributeJavaType, getDeclaringType, getJavaMember, getName, getPersistentAttributeType, getSqmPathType, toString, writeReplace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.metamodel.Attribute
getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection
-
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
-
Methods inherited from interface org.hibernate.query.BindableType
getBindableJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.PersistentAttribute
getAttributeClassification, getAttributeJavaType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.PluralPersistentAttribute
getCollectionClassification, getDeclaringType, getElementPathSource, getElementType, getKeyGraphType, getValueGraphType
-
Methods inherited from interface org.hibernate.query.sqm.SqmExpressible
getExpressibleJavaType, getRelationalJavaType, getTypeName, isInstance, resolveExpressible
-
Methods inherited from interface org.hibernate.query.sqm.tree.SqmExpressibleAccessor
getNodeJavaType
-
Methods inherited from interface org.hibernate.query.sqm.SqmJoinable
createNavigablePath, getName
-
Methods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, getExpressible, getPathName, getSqmPathType, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
-
-
-
Constructor Detail
-
ListAttributeImpl
public ListAttributeImpl(PluralAttributeBuilder<X,List<E>,E,?> builder, MetadataContext metadataContext)
-
-
Method Detail
-
getCollectionType
public PluralAttribute.CollectionType getCollectionType()
- Specified by:
getCollectionTypein interfacePluralAttribute<X,List<E>,E>- Overrides:
getCollectionTypein classAbstractPluralAttribute<X,List<E>,E>
-
getIndexPathSource
public SqmPathSource<Integer> getIndexPathSource()
- Specified by:
getIndexPathSourcein interfaceListPersistentAttribute<X,E>- Specified by:
getIndexPathSourcein interfacePluralPersistentAttribute<X,List<E>,E>
-
findSubPathSource
public SqmPathSource<?> findSubPathSource(String name)
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
public SqmPathSource<?> findSubPathSource(String name, JpaMetamodelImplementor metamodel)
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
public SqmPathSource<?> getIntermediatePathSource(SqmPathSource<?> pathSource)
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>
-
-