Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.metamodel

public Class ListAttributeImpl<X, V>

extends PluralAttributeImpl<X, List<V>, V>
implements ListAttribute<X, V>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.metamodel.ListAttribute, jakarta.persistence.metamodel.PluralAttribute, jakarta.persistence.metamodel.Bindable, jakarta.persistence.metamodel.Attribute
Type Parameters
<X>
The type the represented List belongs to
<V>
The element type of the represented List
Imports
java.util.List, jakarta.persistence.metamodel.ListAttribute, org.eclipse.persistence.mappings.CollectionMapping

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.

Since
EclipseLink 1.2 - JPA 2.0
See Also
jakarta.persistence.metamodel.ListAttribute

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one

Constructor Summary

AccessConstructor and Description
protected
ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping)

INTERNAL:

protected
ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)

Method Summary

Modifier and TypeMethod and Description
public PluralAttribute.CollectionType
public Class<T>

Returns:

Java type
getJavaType
()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.AttributeImpl.getJavaType.

Implements jakarta.persistence.metamodel.Attribute.getJavaType.

Return the Java type of the represented attribute.
Inherited from org.eclipse.persistence.internal.jpa.metamodel.PluralAttributeImpl:
getBindableJavaTypegetBindableTypegetCollectionMappinggetElementTypeisPluraltoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one

Constructor Detail

ListAttributeImplback to summary
protected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping)

INTERNAL:

ListAttributeImplback to summary
protected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)

Method Detail

getCollectionTypeback to summary
public PluralAttribute.CollectionType getCollectionType()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.PluralAttributeImpl.getCollectionType.

Implements jakarta.persistence.metamodel.PluralAttribute.getCollectionType.

Return the collection type.

Returns:PluralAttribute.CollectionType

collection type

Annotations
@Override
getJavaTypeback to summary
public Class<T> getJavaType()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.AttributeImpl.getJavaType.

Implements jakarta.persistence.metamodel.Attribute.getJavaType.

Return the Java type of the represented attribute.

Returns:Class<T>

Java type

Annotations
@Override
@SuppressWarnings:rawtypes