JPA Interface

PluralAttribute

Type Parameters:
<X> - The type the represented collection belongs to
<C> - The type of the represented collection
<E> - The element type of the represented collection
Super Interfaces:
Attribute<X,C>, Bindable<E>

Instances of the type PluralAttribute represent persistent collection-valued attributes.
Since:
JPA 2.0

Public Methods

PluralAttribute<X,C,E>.CollectionType getCollectionType()
Return the collection type.
Return:
collection type
Since:
JPA 2.0
Type<E> getElementType()
Return the type representing the element type of the collection.
Return:
element type
Since:
JPA 2.0