Top Description Methods
org.hibernate.metamodel.model.domain

public Interface PluralPersistentAttribute<D, C, E>

extends PersistentAttribute<D, C>, SqmPathSource<E>, SqmJoinable<D, E>, PluralAttribute<D, C, E>
Known Direct Subinterfaces
org.hibernate.metamodel.model.domain.SetPersistentAttribute, org.hibernate.metamodel.model.domain.BagPersistentAttribute, org.hibernate.metamodel.model.domain.ListPersistentAttribute, org.hibernate.metamodel.model.domain.MapPersistentAttribute
Known Direct Implementers
org.hibernate.metamodel.model.domain.internal.AbstractPluralAttribute
Imports
jakarta.persistence.metamodel.PluralAttribute, org.hibernate.metamodel.CollectionClassification, org.hibernate.query.NotIndexedCollectionException, org.hibernate.query.sqm.SqmJoinable, .SqmPathSource

Extension of the JPA-defined PluralAttribute interface.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public CollectionClassification
public ManagedDomainType<D>
getDeclaringType()

Redeclares org.hibernate.metamodel.model.domain.PersistentAttribute.getDeclaringType, jakarta.persistence.metamodel.Attribute.getDeclaringType.

Return the managed type representing the type in which the attribute was declared.
public SqmPathSource<E>
public SimpleDomainType<E>
getElementType()

Redeclares jakarta.persistence.metamodel.PluralAttribute.getElementType.

Return the type representing the element type of the collection.
public default SqmPathSource<?>
public default SimpleDomainType<?>
public SimpleDomainType<E>
Inherited from jakarta.persistence.metamodel.PluralAttribute:
getCollectionType
Inherited from org.hibernate.metamodel.model.domain.PersistentAttribute:
getAttributeClassificationgetAttributeJavaType
Inherited from org.hibernate.query.sqm.SqmJoinable:
createNavigablePathcreateSqmJoingetName
Inherited from org.hibernate.query.sqm.SqmPathSource:
createSqmPathfindSubPathSourcefindSubPathSourcegetExpressiblegetIntermediatePathSourcegetPathNamegetSqmPathTypegetSqmTypegetSubPathSourcegetSubPathSourceisGeneric

Method Detail

getCollectionClassificationback to summary
public CollectionClassification getCollectionClassification()
getDeclaringTypeback to summary
public ManagedDomainType<D> getDeclaringType()

Redeclares org.hibernate.metamodel.model.domain.PersistentAttribute.getDeclaringType, jakarta.persistence.metamodel.Attribute.getDeclaringType.

Doc from jakarta.persistence.metamodel.Attribute.getDeclaringType.

Return the managed type representing the type in which the attribute was declared.

Returns:ManagedDomainType<D>

declaring type

Annotations
@Override
getElementPathSourceback to summary
public SqmPathSource<E> getElementPathSource()
getElementTypeback to summary
public SimpleDomainType<E> getElementType()

Redeclares jakarta.persistence.metamodel.PluralAttribute.getElementType.

Doc from jakarta.persistence.metamodel.PluralAttribute.getElementType.

Return the type representing the element type of the collection.

Returns:SimpleDomainType<E>

element type

Annotations
@Override
getIndexPathSourceback to summary
public default SqmPathSource<?> getIndexPathSource()
getKeyGraphTypeback to summary
public default SimpleDomainType<?> getKeyGraphType()

Implements org.hibernate.metamodel.model.domain.PersistentAttribute.getKeyGraphType.

getValueGraphTypeback to summary
public SimpleDomainType<E> getValueGraphType()

Redeclares org.hibernate.metamodel.model.domain.PersistentAttribute.getValueGraphType.

Annotations
@Override