Purpose: Provides the implementation for the CollectionAttribute interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type CollectionAttribute represent persistent Collection-valued attributes.
jakarta.persistence.metamodel.CollectionAttribute
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one |
| Access | Constructor and Description |
|---|---|
| protected | CollectionAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping)
INTERNAL: Construct an instance of Collection for the managed type managedType |
| protected | CollectionAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)
INTERNAL: Construct an instance of Collection for the managed type managedType |
| Modifier and Type | Method and Description |
|---|---|
| public PluralAttribute. | Returns: collection typeImplements abstract org. Implements jakarta. |
| public Class | Returns: Java typeImplements abstract org. Implements jakarta. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one | |
| CollectionAttributeImpl | back to summary |
|---|---|
| protected CollectionAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping) INTERNAL: Construct an instance of Collection for the managed type managedType | |
| CollectionAttributeImpl | back to summary |
|---|---|
| protected CollectionAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled) INTERNAL: Construct an instance of Collection for the managed type managedType | |
| getCollectionType | back to summary |
|---|---|
| public PluralAttribute. Implements abstract org. Implements jakarta. Return the collection type.
| |
| getJavaType | back to summary |
|---|---|
| public Class Implements abstract org. Implements jakarta. Return the Java type of the represented attribute.
| |