Interface PluralPersistentAttribute<D,C,E>
- All Superinterfaces:
Attribute<D,,C> Bindable<E>,BindableType<E>,PersistentAttribute<D,,C> PluralAttribute<D,,C, E> SqmExpressible<E>,SqmExpressibleAccessor<E>,SqmJoinable<D,,E> SqmPathSource<E>
- All Known Subinterfaces:
BagPersistentAttribute<D,,E> ListPersistentAttribute<D,,E> MapPersistentAttribute<D,,K, V> SetPersistentAttribute<D,E>
- All Known Implementing Classes:
AbstractPluralAttribute,BagAttributeImpl,ListAttributeImpl,MapAttributeImpl,SetAttributeImpl
public interface PluralPersistentAttribute<D,C,E>
extends PersistentAttribute<D,C>, SqmPathSource<E>, SqmJoinable<D,E>, PluralAttribute<D,C,E>
Extension of the JPA-defined
PluralAttribute interface.- 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.default SqmPathSource<?>default SimpleDomainType<?>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.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
-
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,C> - Specified by:
getDeclaringTypein interfacePersistentAttribute<D,C> - Returns:
- declaring type
-
getCollectionClassification
CollectionClassification getCollectionClassification() -
getElementPathSource
SqmPathSource<E> getElementPathSource() -
getIndexPathSource
-
getElementType
SimpleDomainType<E> getElementType()Description copied from interface:PluralAttributeReturn the type representing the element type of the collection.- Specified by:
getElementTypein interfacePluralAttribute<D,C, E> - Returns:
- element type
-
getValueGraphType
SimpleDomainType<E> getValueGraphType()- Specified by:
getValueGraphTypein interfacePersistentAttribute<D,C>
-
getKeyGraphType
- Specified by:
getKeyGraphTypein interfacePersistentAttribute<D,C>
-