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

public Class PluralAttributeProxyImpl<X, C, V>

extends AttributeProxyImpl<X, C>
implements PluralAttribute<X, C, V>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.metamodel.PluralAttribute, jakarta.persistence.metamodel.Bindable, jakarta.persistence.metamodel.Attribute
Known Direct Subclasses
org.eclipse.persistence.internal.jpa.metamodel.proxy.SetAttributeProxyImpl, org.eclipse.persistence.internal.jpa.metamodel.proxy.CollectionAttributeProxyImpl, org.eclipse.persistence.internal.jpa.metamodel.proxy.ListAttributeProxyImpl, org.eclipse.persistence.internal.jpa.metamodel.proxy.MapAttributeProxyImpl
Imports
jakarta.persistence.metamodel.PluralAttribute, .Type, org.eclipse.persistence.internal.jpa.metamodel.PluralAttributeImpl

A proxy class that allows EclipseLink to trigger the deployment of a persistence unit as an PluralAttribute is accessed in the metamodel.
Author
tware

Field Summary

Inherited from org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl:
attributefactories

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<V>
getBindableJavaType()

Implements jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Return the Java type of the represented object.
public Bindable.BindableType
getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.
public PluralAttribute.CollectionType
public Type<V>
getElementType()

Implements jakarta.persistence.metamodel.PluralAttribute.getElementType.

Return the type representing the element type of the collection.
Inherited from org.eclipse.persistence.internal.jpa.metamodel.proxy.AttributeProxyImpl:
addFactorygetAttributegetAttributeInternalgetDeclaringTypegetJavaMembergetJavaTypegetNamegetPersistentAttributeTypeisAssociationisCollectionsetAttribute

Constructor Detail

PluralAttributeProxyImplback to summary
public PluralAttributeProxyImpl()

Method Detail

getBindableJavaTypeback to summary
public Class<V> getBindableJavaType()

Implements jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableJavaType.

Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE, the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE, the Java type of the represented entity or attribute is returned.

Returns:Class<V>

Java type

Annotations
@Override
getBindableTypeback to summary
public Bindable.BindableType getBindableType()

Implements jakarta.persistence.metamodel.Bindable.getBindableType.

Doc from jakarta.persistence.metamodel.Bindable.getBindableType.

Return the bindable type of the represented object.

Returns:Bindable.BindableType

bindable type

Annotations
@Override
getCollectionTypeback to summary
public PluralAttribute.CollectionType getCollectionType()

Implements jakarta.persistence.metamodel.PluralAttribute.getCollectionType.

Doc from jakarta.persistence.metamodel.PluralAttribute.getCollectionType.

Return the collection type.

Returns:PluralAttribute.CollectionType

collection type

Annotations
@Override
getElementTypeback to summary
public Type<V> getElementType()

Implements jakarta.persistence.metamodel.PluralAttribute.getElementType.

Doc from jakarta.persistence.metamodel.PluralAttribute.getElementType.

Return the type representing the element type of the collection.

Returns:Type<V>

element type

Annotations
@Override