Package jakarta.persistence.metamodel
Interface PluralAttribute<X,C,E>
-
- Type Parameters:
X
- The type the represented collection belongs toC
- The type of the represented collectionE
- The element type of the represented collection
- All Known Subinterfaces:
CollectionAttribute<X,E>
,ListAttribute<X,E>
,MapAttribute<X,K,V>
,SetAttribute<X,E>
public interface PluralAttribute<X,C,E> extends Attribute<X,C>, Bindable<E>
Instances of the typePluralAttribute
represent persistent collection-valued attributes.- Since:
- 2.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PluralAttribute.CollectionType
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
-
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluralAttribute.CollectionType
getCollectionType()
Return the collection type.Type<E>
getElementType()
Return the type representing the element type of the collection.-
Methods inherited from interface jakarta.persistence.metamodel.Attribute
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection
-
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
-
-
-
-
Method Detail
-
getCollectionType
PluralAttribute.CollectionType getCollectionType()
Return the collection type.- Returns:
- collection type
-
-