Package jakarta.persistence.metamodel
Interface MapAttribute<X,K,V>
- Type Parameters:
X
- The type the represented Map belongs toK
- The type of the key of the represented MapV
- The type of the value of the represented Map
- All Superinterfaces:
Attribute<X,
,Map<K, V>> Bindable<V>
,PluralAttribute<X,
Map<K, V>, V>
Instances of the type
MapAttribute
represent
persistent java.util.Map
-valued attributes.- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Bindable
Bindable.BindableType
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.PluralAttribute
PluralAttribute.CollectionType
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Java type of the map key.Return the type representing the key type of the map.Methods inherited from interface jakarta.persistence.metamodel.Attribute
getDeclaringType, getJavaMember, getJavaType, getName, getPersistentAttributeType, isAssociation, isCollection
Methods inherited from interface jakarta.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
Methods inherited from interface jakarta.persistence.metamodel.PluralAttribute
getCollectionType, getElementType
-
Method Details
-
getKeyJavaType
Return the Java type of the map key.- Returns:
- Java key type
-
getKeyType
Return the type representing the key type of the map.- Returns:
- type representing key type
-