X - The type the represented List belongs toV - The element type of the represented Listpublic class ListAttributeImpl<X,V> extends PluralAttributeImpl<X,java.util.List<V>,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.
javax.persistence.metamodel.ListAttribute,
Serialized Form| 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 |
|---|---|
CollectionType |
getCollectionType()
Return the collection type.
|
java.lang.Class |
getJavaType()
Return the Java type of the represented attribute.
|
getBindableJavaType, getBindableType, getCollectionMapping, getElementType, isPlural, toStringgetDeclaringType, getDescriptor, getJavaMember, getManagedTypeImpl, getMapping, getMetamodel, getName, getPersistentAttributeType, isAssociation, isCollectionprotected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping)
managedType - mapping - protected ListAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)
managedType - mapping - validationEnabled - public CollectionType getCollectionType()
getCollectionType in class PluralAttributeImpl<X,java.util.List<V>,V>public java.lang.Class getJavaType()
getJavaType in class AttributeImpl<X,java.util.List<V>>