JPA Interface

MapAttribute

Type Parameters:
<X> - The type the represented Map belongs to
<K> - The type of the key of the represented Map
<V> - The type of the value of the represented Map
Super Interfaces:
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:
JPA 2.0

Public Methods

Class<K> getKeyJavaType()
Return the Java type of the map key.
Return:
Java key type
Since:
JPA 2.0
Type<K> getKeyType()
Return the type representing the key type of the map.
Return:
type representing key type
Since:
JPA 2.0