X - The type the represented List belongs toV - The element type of the represented Listpublic class ListAttributeImpl<X,V> extends PluralAttributeImpl<X,List<V>,V> implements jakarta.persistence.metamodel.ListAttribute<X,V>
Purpose: Provides the implementation for the ListAttribute interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type ListAttribute represent persistent List-valued attributes.
ListAttribute,
Serialized Formjakarta.persistence.metamodel.PluralAttribute.CollectionType| Modifier | Constructor and Description |
|---|---|
protected |
ListAttributeImpl(ManagedTypeImpl<X> managedType,
CollectionMapping mapping)
INTERNAL:
|
protected |
ListAttributeImpl(ManagedTypeImpl<X> managedType,
CollectionMapping mapping,
boolean validationEnabled) |
| Modifier and Type | Method and Description |
|---|---|
jakarta.persistence.metamodel.PluralAttribute.CollectionType |
getCollectionType()
Return the collection type.
|
Class |
getJavaType()
Return the Java type of the represented attribute.
|
getBindableJavaType, getBindableType, getCollectionMapping, getElementType, isPlural, toStringgetDeclaringType, getDescriptor, getJavaMember, getManagedTypeImpl, getMapping, getMetamodel, getName, getPersistentAttributeType, isAssociation, isCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping)
managedType - mapping - protected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)
managedType - mapping - validationEnabled - public jakarta.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
getCollectionType in interface jakarta.persistence.metamodel.PluralAttribute<X,List<V>,V>getCollectionType in class PluralAttributeImpl<X,List<V>,V>public Class getJavaType()
getJavaType in interface jakarta.persistence.metamodel.Attribute<X,List<V>>getJavaType in class AttributeImpl<X,List<V>>Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.