Class BagAttributeImpl<X,E>
java.lang.Object
org.hibernate.metamodel.model.domain.internal.AbstractAttribute<D,C,E>
org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute<X,Collection<E>,E>
org.hibernate.metamodel.model.domain.internal.BagAttributeImpl<X,E>
- All Implemented Interfaces:
Attribute<X,,Collection<E>> Bindable<E>,CollectionAttribute<X,,E> PluralAttribute<X,,Collection<E>, E> Serializable,BagPersistentAttribute<X,,E> PersistentAttribute<X,,Collection<E>> PluralPersistentAttribute<X,,Collection<E>, E> BindableType<E>,SqmExpressible<E>,SqmJoinable<X,,E> SqmPathSource<E>,SqmExpressibleAccessor<E>
public class BagAttributeImpl<X,E>
extends AbstractPluralAttribute<X,Collection<E>,E>
implements BagPersistentAttribute<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
ConstructorsConstructorDescriptionBagAttributeImpl(PluralAttributeBuilder<X, Collection<E>, E, ?> xceBuilder, MetadataContext metadataContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateSqmJoin(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) Return the collection type.Methods inherited from class org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute
createNavigablePath, createSqmPath, findSubPathSource, findSubPathSource, getBindableJavaType, getBindableType, getCollectionClassification, getElementPathSource, getElementType, getExpressibleJavaType, getIntermediatePathSource, 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 org.hibernate.metamodel.model.domain.BagPersistentAttribute
getDeclaringType, getElementType, getValueGraphTypeMethods 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, getElementPathSource, getIndexPathSource, getKeyGraphTypeMethods 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, findSubPathSource, findSubPathSource, getExpressible, getIntermediatePathSource, getPathName, getSqmPathType, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
Constructor Details
-
BagAttributeImpl
public BagAttributeImpl(PluralAttributeBuilder<X, Collection<E>, E, ?> xceBuilder, MetadataContext metadataContext)
-
-
Method Details
-
getCollectionType
Description copied from interface:PluralAttributeReturn the collection type.- Specified by:
getCollectionTypein interfacePluralAttribute<X,Collection<E>, E> - Overrides:
getCollectionTypein classAbstractPluralAttribute<X,Collection<E>, E> - Returns:
- collection type
-
createSqmJoin
public SqmAttributeJoin<X,E> createSqmJoin(SqmFrom<?, X> lhs, SqmJoinType joinType, String alias, boolean fetched, SqmCreationState creationState) - Specified by:
createSqmJoinin interfaceSqmJoinable<X,E>
-