Interface BagPersistentAttribute<D,E>
- All Superinterfaces:
Attribute<D,,Collection<E>> Bindable<E>,BindableType<E>,CollectionAttribute<D,,E> PersistentAttribute<D,,Collection<E>> PluralAttribute<D,,Collection<E>, E> PluralPersistentAttribute<D,,Collection<E>, E> SqmExpressible<E>,SqmExpressibleAccessor<E>,SqmJoinable<D,,E> SqmPathSource<E>
- All Known Implementing Classes:
BagAttributeImpl
public interface BagPersistentAttribute<D,E>
extends CollectionAttribute<D,E>, PluralPersistentAttribute<D,Collection<E>,E>
Hibernate extension to the JPA
CollectionAttribute descriptor- Author:
- Steve Ebersole
-
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 -
Method Summary
Modifier and TypeMethodDescriptionReturn the managed type representing the type in which the attribute was declared.Return the type representing the element type of the collection.Methods 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 jakarta.persistence.metamodel.PluralAttribute
getCollectionTypeMethods 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, createSqmJoin, getNameMethods inherited from interface org.hibernate.query.sqm.SqmPathSource
createSqmPath, findSubPathSource, findSubPathSource, getExpressible, getIntermediatePathSource, getPathName, getSqmPathType, getSqmType, getSubPathSource, getSubPathSource, isGeneric
-
Method Details
-
getValueGraphType
SimpleDomainType<E> getValueGraphType()- Specified by:
getValueGraphTypein interfacePersistentAttribute<D,E> - Specified by:
getValueGraphTypein interfacePluralPersistentAttribute<D,Collection<E>, E>
-
getElementType
SimpleDomainType<E> getElementType()Description copied from interface:PluralAttributeReturn the type representing the element type of the collection.- Specified by:
getElementTypein interfacePluralAttribute<D,Collection<E>, E> - Specified by:
getElementTypein interfacePluralPersistentAttribute<D,Collection<E>, E> - Returns:
- element type
-
getDeclaringType
ManagedDomainType<D> getDeclaringType()Description copied from interface:AttributeReturn the managed type representing the type in which the attribute was declared.- Specified by:
getDeclaringTypein interfaceAttribute<D,E> - Specified by:
getDeclaringTypein interfacePersistentAttribute<D,E> - Specified by:
getDeclaringTypein interfacePluralPersistentAttribute<D,Collection<E>, E> - Returns:
- declaring type
-