Interface MapAttribute<X,K,V>

  • 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
    All Superinterfaces:
    Attribute<X,K>, Bindable<X>, PluralAttribute<X,java.util.Map<K,V>,V>

    public interface MapAttribute<X,K,V>
    extends PluralAttribute<X,java.util.Map<K,V>,V>
    Instances of the type MapAttribute represent persistent java.util.Map-valued attributes.
    Java Persistence 2.0
    • Method Detail

      • getKeyJavaType

        java.lang.Class<K> getKeyJavaType​()
        Return the Java type of the map key.
        Java key type
      • getKeyType

        Type<K> getKeyType​()
        Return the type representing the key type of the map.
        type representing key type