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

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, javax.persistence.metamodel.CollectionAttribute

Hibernate extension to the JPA CollectionAttribute descriptor
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public ManagedTypeDescriptor<D>
public SimpleTypeDescriptor<E>
public SimpleTypeDescriptor<E>

Method Detail

getDeclaringTypeback to summary
public ManagedTypeDescriptor<D> getDeclaringType()

Redeclares javax.persistence.metamodel.Attribute.getDeclaringType, org.hibernate.metamodel.model.domain.spi.PluralPersistentAttribute.getDeclaringType.

Doc from javax.persistence.metamodel.Attribute.getDeclaringType.

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

Returns:ManagedTypeDescriptor<D>

declaring type

Annotations
@Override
getElementTypeback to summary
public SimpleTypeDescriptor<E> getElementType()

Redeclares javax.persistence.metamodel.PluralAttribute.getElementType, org.hibernate.metamodel.model.domain.spi.PluralPersistentAttribute.getElementType.

Doc from javax.persistence.metamodel.PluralAttribute.getElementType.

Return the type representing the element type of the collection.

Returns:SimpleTypeDescriptor<E>

element type

Annotations
@Override
getValueGraphTypeback to summary
public SimpleTypeDescriptor<E> getValueGraphType()

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

Annotations
@Override