Module org.eclipse.persistence.jpa
Class ListAttributeImpl<X,V>
java.lang.Object
org.eclipse.persistence.internal.jpa.metamodel.AttributeImpl<X,List<V>>
org.eclipse.persistence.internal.jpa.metamodel.PluralAttributeImpl<X,List<V>,V>
org.eclipse.persistence.internal.jpa.metamodel.ListAttributeImpl<X,V>
- Type Parameters:
X- The type the represented List belongs toV- The element type of the represented List
- All Implemented Interfaces:
Attribute<X,,List<V>> Bindable<V>,ListAttribute<X,,V> PluralAttribute<X,,List<V>, V> Serializable
public class ListAttributeImpl<X,V>
extends PluralAttributeImpl<X,List<V>,V>
implements 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.
- Since:
- EclipseLink 1.2 - JPA 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableTypeNested classes/interfaces inherited from interface jakarta.persistence.metamodel.PluralAttribute
PluralAttribute.CollectionType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping) INTERNAL:protectedListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) -
Method Summary
Modifier and TypeMethodDescriptionReturn the collection type.Return the Java type of the represented attribute.Methods inherited from class org.eclipse.persistence.internal.jpa.metamodel.PluralAttributeImpl
getBindableJavaType, getBindableType, getCollectionMapping, getElementType, isPlural, toStringMethods inherited from class org.eclipse.persistence.internal.jpa.metamodel.AttributeImpl
getDeclaringType, getDescriptor, getJavaMember, getManagedTypeImpl, getMapping, getMetamodel, getName, getPersistentAttributeType, isAssociation, isCollectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.persistence.metamodel.Attribute
getDeclaringType, getJavaMember, getName, getPersistentAttributeType, isAssociation, isCollectionMethods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableTypeMethods inherited from interface jakarta.persistence.metamodel.PluralAttribute
getElementType
-
Constructor Details
-
ListAttributeImpl
INTERNAL: -
ListAttributeImpl
protected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)
-
-
Method Details
-
getCollectionType
Return the collection type.- Specified by:
getCollectionTypein interfacePluralAttribute<X,List<V>, V> - Specified by:
getCollectionTypein classPluralAttributeImpl<X,List<V>, V> - Returns:
- collection type
-
getJavaType
Return the Java type of the represented attribute.- Specified by:
getJavaTypein interfaceAttribute<X,V> - Specified by:
getJavaTypein classAttributeImpl<X,List<V>> - Returns:
- Java type
-