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

public Interface BagPersistentAttribute<D, E>

extends CollectionAttribute<D, E>, PluralPersistentAttribute<D, Collection<E>, E>
Known Direct Implementers
org.hibernate.metamodel.model.domain.internal.BagAttributeImpl
Imports
java.util.Collection, jakarta.persistence.metamodel.CollectionAttribute

Hibernate extension to the JPA CollectionAttribute descriptor
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public ManagedDomainType<D>
public SimpleDomainType<E>
public SimpleDomainType<E>
Inherited from org.hibernate.metamodel.model.domain.PluralPersistentAttribute:
getCollectionClassificationgetElementPathSourcegetIndexPathSourcegetKeyGraphType

Method Detail

getDeclaringTypeback to summary
public ManagedDomainType<D> getDeclaringType()

Redeclares jakarta.persistence.metamodel.Attribute.getDeclaringType, org.hibernate.metamodel.model.domain.PluralPersistentAttribute.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
getElementTypeback to summary
public SimpleDomainType<E> getElementType()

Redeclares jakarta.persistence.metamodel.PluralAttribute.getElementType, org.hibernate.metamodel.model.domain.PluralPersistentAttribute.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
getValueGraphTypeback to summary
public SimpleDomainType<E> getValueGraphType()

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

Annotations
@Override