X - The type the represented Set belongs toV - The element type of the represented Setpublic class SetAttributeImpl<X,V> extends PluralAttributeImpl<X,Set<V>,V> implements jakarta.persistence.metamodel.SetAttribute<X,V>
Purpose: Provides the implementation for the SetAttribute interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type SetAttribute represent persistent Set-valued attributes.
SetAttribute,
Serialized Formjakarta.persistence.metamodel.PluralAttribute.CollectionType| Modifier | Constructor and Description |
|---|---|
protected |
SetAttributeImpl(ManagedTypeImpl<X> managedType,
CollectionMapping mapping)
INTERNAL:
|
protected |
SetAttributeImpl(ManagedTypeImpl<X> managedType,
CollectionMapping mapping,
boolean validationEnabled)
INTERNAL:
|
| Modifier and Type | Method and Description |
|---|---|
jakarta.persistence.metamodel.PluralAttribute.CollectionType |
getCollectionType()
Return the collection type.
|
Class |
getJavaType()
Return the Java type of the represented attribute.
|
getBindableJavaType, getBindableType, getCollectionMapping, getElementType, isPlural, toStringgetDeclaringType, getDescriptor, getJavaMember, getManagedTypeImpl, getMapping, getMetamodel, getName, getPersistentAttributeType, isAssociation, isCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected SetAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping)
managedType - mapping - protected SetAttributeImpl(ManagedTypeImpl<X> managedType, CollectionMapping mapping, boolean validationEnabled)
managedType - mapping - validationEnabled - public jakarta.persistence.metamodel.PluralAttribute.CollectionType getCollectionType()
getCollectionType in interface jakarta.persistence.metamodel.PluralAttribute<X,Set<V>,V>getCollectionType in class PluralAttributeImpl<X,Set<V>,V>public Class getJavaType()
getJavaType in interface jakarta.persistence.metamodel.Attribute<X,Set<V>>getJavaType in class AttributeImpl<X,Set<V>>Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.